Interface TranslationProviderInterface

interface TranslationProviderInterface {
    currentLanguage: string;
    changeLanguage(language: string): Promise<void> | Promise<TranslateFunction>;
    translate(key: string, defaultValueOrArgs?: string | Record<string, unknown>, args?: Record<string, unknown>): string;
}

Properties

currentLanguage: string

Methods