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 Signature

set onLanguageChange(value): void

Parameters

value: LanguageChangeHandler

Returns

void

Defined in

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