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

Properties

culture: string

The culture of the translations.

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.

https://en.wikipedia.org/wiki/Language_localisation#Language_tags_and_codes

["en-us", "en-gb", "da-dk"]

direction?: "ltr" | "rtl"

The direction of the localizations (left-to-right or right-to-left).

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.

https://en.wikipedia.org/wiki/Right-to-left

["ltr"]

"ltr"

The localizations.

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