pysepal.i18n.locale_store.set_locale#
- pysepal.i18n.locale_store.set_locale(code)[source]#
Set the locale for the current Solara kernel, or the process default.
A selector’s first browser mount resolves localStorage, navigator.language, then English. That resolution replaces any earlier Python value. Later calls update the mounted selector and survive its remounts.
- Parameters:
code (str) – A locale code in any casing or separator style. Empty means English.
- Return type:
None