Locale

Locale

A locale configured in the project for localization. Locales represent a language paired with an optional region (e.g. English, or English (Canada)).

Definition

interface Locale

Methods & Properties

A unique identifier for the locale.

The BCP 47 language code, e.g. "en-US" or "nl".

The display name of the locale, e.g. "English (US)".

The URL slug used for this locale, e.g. "en".

The ID of the fallback locale. When a Localization Source does not have a localized value set for this locale, Framer will fall back to the value defined in the fallback locale.