interface MetaLocalization {
    culture: string;
    direction?: "ltr" | "rtl";
    localizations?: UmbLocalizationDictionary;
}

Properties

culture: string

The culture is a combination of a language and a country. The language is represented by an ISO 639-1 code and the country is represented by an ISO 3166-1 alpha-2 code. The language and country are separated by a dash. The value is used to describe the language of the translations according to the extension system and it will be set as the lang attribute on the <html> element.

["en-us", "en-gb", "da-dk"]
direction?: "ltr" | "rtl"

The value is used to describe the direction of the translations according to the extension system and it will be set as the dir attribute on the <html> element. It defaults to ltr.

["ltr"]
"ltr"

The localizations.

{
* "general": {
* "cancel": "Cancel",
* "close": "Close"
* }
* }
MMNEPVFCICPMFPCPTTAAATR