Aller au contenu

TranslatorInstance

Ce contenu n’est pas encore disponible dans votre langue.

TranslatorInstance<T>: object

Defined in: packages/runtime-core/lib/i18n.d.ts:24

Type Parameters

T extends object

Type declaration

isInitialized

readonly isInitialized: boolean

onLanguageChange

onLanguageChange: LanguageChangeHandler

resolvedLanguage

readonly resolvedLanguage: Language

changeLanguage()

Parameters

language

Language

Returns

void

init()

Parameters

options?

TranslatorInitOptions

Returns

void

t()

Parameters

key

TranslationKey<T>

Returns

string