Expand description
Locale context provider for runtime-wide internationalization.
The LocaleContext owns the current locale and exposes scoped overrides
for widget subtrees. Locale changes are versioned so the runtime can
trigger re-renders when the active locale changes.
Structs§
- Locale
Context - Runtime locale context with scoped overrides.
- Locale
Override - RAII guard for scoped locale overrides.
Functions§
- current_
locale - Convenience: get the global locale.
- detect_
system_ locale - Detect the system locale from environment variables.
- set_
locale - Convenience: set the global locale.
Type Aliases§
- Locale
- Locale identifier (e.g.,
"en","en-US","ru").