Skip to content

Locale

An identifier used to select a user's language and formatting preferences.

Properties

Properties#

country_code class-attribute instance-attribute #

country_code: str | None = None

The country code of the locale.

language_code class-attribute instance-attribute #

language_code: str | None = None

The language code of the locale.

script_code class-attribute instance-attribute #

script_code: str | None = None

The script code of the locale.