Language Selector Widget
Component Detail
User Interface
low complexity
mobile
2
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
In-app UI control that allows users to select their preferred display language (Norwegian, English, or Northern Sami). Renders as a modal or bottom sheet with flag icons and language names, and applies the new locale immediately at runtime without requiring an app restart.
language-selector-widget
Responsibilities
- Display available locales (nb, en, se) with native language labels
- Trigger locale change via Localization Service on user selection
- Reflect current language selection state from user preferences
- Ensure all interactive elements meet WCAG 2.2 AA touch target and contrast requirements
Interfaces
show()
onLocaleSelected(locale: Locale)
getCurrentLocale(): Locale
Relationships
Dependencies (2)
Components this component depends on