SiLanguageSwitcherComponent documentation¶
selector
si-language-switcher
Input Properties¶
Name | Type | Default | Description |
---|---|---|---|
availableLanguages ¶ | (null | (string | IsoLanguageValue )[]) | null | List of all available languages in this application. |
languageSwitcherLabel ¶ | TranslatableString | $localize`:@@SI_LANGUAGE_SWITCHER.LABEL:Language switcher` | Text for aria label for the language selector. Needed for a11y |
translationKey ¶ | string | 'LANGUAGE' | Key for translation. If the key is set to an empty string, the language of the underlying translation framework will not be switched. |
Types Documentation¶
Copyright (c) Siemens 2016 - 2025 SPDX-License-Identifier: MIT | |||
---|---|---|---|
|
Represents a translatable string. This can either be a translation key, e.g. ACTIONS.EDIT that will be automatically translated when displayed on the UI or a pre-translated string, e.g. Edit . Equivalent to a normal string in usage and functionality. |
---|
Translatable import imported from @siemens/element-translate-ng |
---|
Except where otherwise noted, content on this site is licensed under MIT License.