The locale object provides access to language and region information used throughout the system. This object is used to represent various locales and their properties.

Availability

The locale object is available in various contexts throughout the Aikeedo system where language and region information is relevant. It can be accessed in theme templates and components to display localized content, format dates and numbers, or adapt the user interface to specific cultural preferences.

Properties

The locale object contains the following properties:

name
string
required

A unique identifier for the locale, typically following the format of language code and country/region code (e.g., “en-US” for English in the United States).

label
string
required

A human-readable name for the locale, usually in the language of the locale itself (e.g., “English (US)” for the en-US locale).

enabled
boolean
required

Indicates whether this locale is currently active and available for use in the system.