interface-forge - v2.5.0
    Preparing search index...

    Type Alias PreBuiltMetadataDefinition

    Metadata for pre-built locales.

    type PreBuiltMetadataDefinition = {
        code: string;
        dir: "ltr" | "rtl";
        endonym: string;
        language: string;
        script: string;
        title: string;
        variant?: string;
    }
    Index

    Properties

    code: string

    The full code of the locale, including the country code if applicable.

    dir: "ltr" | "rtl"

    The direction of the language, either 'ltr' (left to right) or 'rtl' (right to left).

    endonym: string

    The endonym (native name) of the language (and the specific country, if defined).

    language: string

    The ISO 639-1 code of the language.

    script: string

    The ISO 15924 code of the script.

    title: string

    The English name of the language (and the specific country, if defined).

    variant?: string

    The specific variant of the language. This usually refers to a dialect or slang.