Skip to main content

LocaleConfiguration

current_locale

The current locale to be used in the application. If the provided value is not present in supported_locales, then this property will be set to the first item of supported_locales (aka supported_locales[0]).

Value is of type Locale.

supported_locales

A list of Locales that the app plans to support. If the provided value is None or list is empty, this property internally defaults to [Locale("en", "US")] (American English locale).

Value is of type List[Locale].