PolyHunter

LocaleSelector

Compact locale code with full language names in the menu. The application owns saving the selected language; the preview only changes synthetic state.

Playground

Live preview

States

All supported languages

Loading / disabled

Save failure

Synthetic preference-save failure; the previous language stays selected.

Code

<LocaleSelector value={locale} options={localeOptions} onChange={saveLocale} disabled={saving} error={saveError} />

Used in

Includes use through shared UI components.

AppLanding