Interface LazyLocalization

Localization data structure that contributes its localizations asynchronously. Allows to load localizations on demand when requested by the user.

interface LazyLocalization {
    languageId: string;
    languageName?: string;
    languagePack?: boolean;
    localizedLanguageName?: string;
    getTranslations(): Promise<Record<string, string>>;
}

Hierarchy (view full)

Properties

languageId: string
languageName?: string
languagePack?: boolean
localizedLanguageName?: string

Methods