Skip to content

SiLanguageSwitcherComponent documentation

selector
si-language-switcher

Input Properties

NameTypeDefaultDescription
availableLanguages
(null | (string | IsoLanguageValue)[])nullList 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
Properties
Language name, ex "English" or translatable string, ex "LANGUAGES.EN"
name: string
Official ISO language code, ex "en"
value: string
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

Except where otherwise noted, content on this site is licensed under MIT License.