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
Returns
void
init()
Parameters
options?
Returns
void
t()
Parameters
key
Returns
string