Provide labels for screen readers for each language in the currently displayed language in a JSON string like this:
'{"de:" "zur deutschen Version der Seite wechseln", "en:" "zur englischen Version der Seite wechseln"}'
Provide text for a language button for each language in the currently displayed language in a JSON string like this:
'{"de:" "DE", "en:" "EN"}'
Provide all urls for all languages of the current page in a JSON string like this:
'{"de": "/de/", "en": "/en/", "fr": "/fr/", "pl": "/pl/", "tr": "/tr/", "es": "/es/", "it": "/it/"}'
Returns the language setup of the current page in an array like [{key: 'de', 'url': ..., 'text': ..., 'label': ..., 'active': true || false}, ...]
'text' and 'label' are provided in the active language if not set otherwise by the language parameter.
Optional
language: stringthe language in which 'text' and 'label' is provided (optional)
Fires when this component got loaded and when "urls" changed.
Generated using TypeDoc
Manages different urls for different languages of the same page.