Nutrient Web SDK

ReferenceLocale

Type Alias Locale

A locale Nutrient Web SDK ships messages for. Every API that takes a locale also accepts any other string, because NutrientViewer.I18n.locales is mutable and a custom tag can be pushed onto it.

Type Alias
Type Signature
type Locale =
    | "ar"
    | "cs"
    | "cy"
    | "da"
    | "de"
    | "el"
    | "en-GB"
    | "en"
    | "es"
    | "fi"
    | "fr-CA"
    | "fr"
    | "he"
    | "hr"
    | "id"
    | "it"
    | "ja"
    | "ko"
    | "ms"
    | "nb-NO"
    | "nl"
    | "pl"
    | "pt-PT"
    | "pt"
    | "ru"
    | "sk"
    | "sl"
    | "sv"
    | "th"
    | "tr"
    | "uk"
    | "zh-Hans"
    | "zh-Hant"