Aller au contenu

I18N

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

I18N<T>: object

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

Type Parameters

T extends object

Type declaration

changeLanguage()

changeLanguage: (language) => void

Parameters

language

Language

Returns

void

resolvedLanguage

readonly resolvedLanguage: Language

t()

readonly t: (key) => string

Parameters

key

TranslationKey<T>

Returns

string

onLanguageChange

Set Signature

set onLanguageChange(value): void

Parameters
value

LanguageChangeHandler

Returns

void