Properties
Private _dict
_dict: object
Private _lang
_lang: any = null
Methods
get
- get(key: any, defVal?: any): any
-
Parameters
-
key: any
-
Default value defVal: any = undefined
Returns any
getByLanguage
- getByLanguage(key: any, language: any, defVal?: any): any
-
Parameters
-
key: any
-
language: any
-
Default value defVal: any = null
Returns any
putVocabularies
- putVocabularies(vocabularies: any): void
putVocabulariesForLanguage
- putVocabulariesForLanguage(language: any, vocabularies: any): void
-
Parameters
-
language: any
-
vocabularies: any
Returns void
setLanguage
- setLanguage(lang: string): void
Static configure
- configure(config: any): any
Static get
- get(key: any, defVal: any): any
Static putVocabularies
- putVocabularies(vocabularies: any): any
Static putVocabulariesForLanguage
- putVocabulariesForLanguage(language: any, vocabularies: any): any
-
Parameters
-
language: any
-
vocabularies: any
Returns any
Static setLanguage
- setLanguage(lang: any): any
Language transition class Export I18n APIs