SynchronizedTranslator
Defined in: packages/runtime-core/lib/i18n.d.ts:60
Extends
Type Parameters
• T extends object
Implements
Constructors
new SynchronizedTranslator()
new SynchronizedTranslator<
T
>(options
):SynchronizedTranslator
<T
>
Defined in: packages/runtime-core/lib/i18n.d.ts:63
Parameters
options
Returns
Overrides
Accessors
isInitialized
Get Signature
get isInitialized():
boolean
Defined in: packages/runtime-core/lib/i18n.d.ts:50
Returns
boolean
Set Signature
set isInitialized(
value
):void
Defined in: packages/runtime-core/lib/i18n.d.ts:51
Parameters
value
boolean
Returns
void
Implementation of
TranslatorInstance.isInitialized
Inherited from
onLanguageChange
Set Signature
set onLanguageChange(
handler
):void
Defined in: packages/runtime-core/lib/i18n.d.ts:52
Parameters
handler
Returns
void
Implementation of
TranslatorInstance.onLanguageChange
Inherited from
BaseTranslator
.onLanguageChange
resolvedLanguage
Get Signature
get resolvedLanguage():
Language
Defined in: packages/runtime-core/lib/i18n.d.ts:53
Returns
Implementation of
TranslatorInstance.resolvedLanguage
Inherited from
BaseTranslator
.resolvedLanguage
Methods
changeLanguage()
changeLanguage(
language
):void
Defined in: packages/runtime-core/lib/i18n.d.ts:64
Parameters
language
Returns
void
Implementation of
TranslatorInstance.changeLanguage
Overrides
init()
init(
options
?):void
Defined in: packages/runtime-core/lib/i18n.d.ts:65
Parameters
options?
Returns
void
Implementation of
TranslatorInstance.init
Overrides
t()
t(
key
):string
Defined in: packages/runtime-core/lib/i18n.d.ts:57
Parameters
key
Returns
string
Implementation of
TranslatorInstance.t