LocalePicker
Client <select> for choosing display language from the locale catalog.
Exports
LocalePicker— named exportLocalePickerProps— interface
Props (LocalePickerProps)
| Prop | Type | Default | Behavior |
|---|---|---|---|
className | string | — | Merged onto root locale-picker label |
showVisibleLabel | boolean | false | Visible Language label vs SR-only aria text |
Behavior
useIdlingLocale()suppliescatalog,localeId,setLocaleId,ll,loading.- Select disabled while
loading;onChangecasts value toIdlingLocaleId. - Aria/label strings from
ll.locale.pickerAria/pickerLabelwith English fallbacks.
Sources: src/app/components/locale/LocalePicker.tsx, src/app/components/locale/LocalePicker.css, src/app/components/locale/IdlingLocaleProvider.tsx, @molecules/quotes/idlingLocaleCatalog