interface ILocalizationService {
    currentResource: undefined | LfJsUtils.resourceType;
    debugMode: boolean;
    getString(key: string, params?: string[]): string;
    initResourcesFromUrlAsync(url: string): Promise<void>;
    setLanguage(language: string): void;
}

Implemented by

Properties

currentResource: undefined | LfJsUtils.resourceType
debugMode: boolean

Methods

  • Parameters

    • key: string
    • Optionalparams: string[]

    Returns string

  • Parameters

    • url: string

    Returns Promise<void>

  • Parameters

    • language: string

    Returns void