rosetta_translation-1.0.0-alpha1/config/schema/rosetta_translation.schema.yml
config/schema/rosetta_translation.schema.yml
rosetta_translation.settings:
type: config_object
label: 'Rosetta Translation settings'
mapping:
page_language:
type: string
label: 'Page language'
site_name:
type: string
label: 'Site name'
preferred_supported_languages:
type: string
label: 'Preferred supported languages (comma-separated codes)'
attribution_image_url:
type: string
label: 'Attribution image URL'
chunk_size:
type: integer
label: 'Chunk size'
intersection_threshold:
type: float
label: 'Intersection threshold'
ignore_classes:
type: string
label: 'Ignore classes (comma-separated)'
ignore_selectors:
type: string
label: 'Ignore selectors (comma-separated)'
update_document_language_attribute:
type: boolean
label: 'Update document lang attribute'
verbose_output:
type: boolean
label: 'Verbose output'
included_attributes:
type: string
label: 'Included attributes (comma-separated)'
translate_endpoint:
type: string
label: 'Translate backend endpoint'
session_url_updates:
type: boolean
label: 'Enable session and URL updates'
select_widget_container_id:
type: string
label: 'ID of translation widget container element'
rosetta_version:
type: string
label: 'Rosetta library version'
show_banner:
type: boolean
label: 'Show translation banner'
