Locale Locale # An identifier used to select a user's language and formatting preferences. country_code # country_code: str | None = None The country code of the locale. language_code # language_code: str | None = None The language code of the locale. script_code # script_code: str | None = None The script code of the locale.