pysepal.solara.locale.LocaleState#
- class pysepal.solara.locale.LocaleState(*args, **kwargs)[source]#
Resolved locale code, keyed by runtime scope.
Initialize with an initial resolved locale code.
Attributes
localeA trait for unicode strings.
Methods
Initialize with an initial resolved locale code.
Update the resolved locale; an empty value coerces to
"en".- Parameters:
locale (str)