An instance of the loader currently used
An instance of the compiler currently used
An instance of the parser currently used
A handler for missing translations.
whether we should use default language translation when current language translation is missing.
whether this service should use the store or not
To make a child module extend (and use) translations from parent modules.
Set the default language using configuration
Changes the default lang
Changes the current lang
Retrieves the given translations
Update the list of available langs
The lang currently used
The lang currently used
The default lang to fallback when translations are missing on the current lang
The default lang to fallback when translations are missing on the current lang
an array of langs
an array of langs
An EventEmitter to listen to default lang change events onDefaultLangChange.subscribe((params: DefaultLangChangeEvent) => { // do something });
An EventEmitter to listen to lang change events onLangChange.subscribe((params: LangChangeEvent) => { // do something });
An EventEmitter to listen to translation change events onTranslationChange.subscribe((params: TranslationChangeEvent) => { // do something });
a list of translations per lang
a list of translations per lang
Add available langs
Gets the translated value of a key (or an array of keys)
the translated key, or an object of translated keys
Returns the culture language code name from the browser, e.g. "de-DE"
Returns the language code name from the browser, e.g. "de"
Gets the default language used
Returns an array of currently available langs
Returns the parsed result of the translations
Returns a stream of translated values of a key (or an array of keys) which updates whenever the translation changes.
A stream of the translated key, or an object of translated keys
Gets an object of translations for a given language with the current loader and passes it through the compiler
Returns a translation instantly from the internal state of loaded translation. All rules regarding the current language, the preferred language of even fallback languages will be used except any promise handling.
Allows to reload the lang file from the file
Deletes inner translation
Sets the translated value of a key, after compiling it
Sets the default language to use as a fallback
Manually sets an object of translations for a given language after passing it through the compiler
Returns a stream of translated values of a key (or an array of keys) which updates whenever the language changes.
A stream of the translated key, or an object of translated keys
Changes the lang currently used
Generated using TypeDoc
an instance of the store (that is supposed to be unique)