SiLanguageSwitcherComponent documentation¶
import { SiLanguageSwitcherComponent } from '@siemens/element-ng/language-switcher'; Input Properties¶
| Name | Type | Default | Description |
|---|---|---|---|
| availableLanguages ¶ | (string | IsoLanguageValue)[] | null | 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¶
import type { TranslatableString } from '@siemens/element-translate-ng/translate-types';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.
Except where otherwise noted, content on this site is licensed under MIT License.