pysepal.i18n.locale_store.current_locale#

pysepal.i18n.locale_store.current_locale()[source]#

Return the current kernel’s locale, subscribing during a render.

Returns:

A normalised IETF BCP 47 code; "en" until something sets one. Outside a Solara context, return the process default.

Return type:

str