MAIDR JavaScript API
    Preparing search index...

    Type Alias Locale

    Locale: "en" | "ko" | "ja" | "zh" | "es" | "de" | "fr" | "it" | "hi"

    A language MAIDR can speak. Every dictionary under src/util/i18n/ has an entry for every key of the English one, so any locale can render any message.

    English ships inside the core bundle. Every other dictionary is a locale pack — dist/locale-ko.js, or maidr/locale/ko from npm — registered through registerLocale, so adding a language costs nothing to a page that does not load it. A locale that is active but not registered renders in English until its pack arrives.