Aller au contenu

I18N

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

I18N<T>: object

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 onLanguageChange(value): void

Parameters

value: LanguageChangeHandler

Defined in

packages/runtime-core/src/i18n.d.ts:16