core/i18n/translate.loader.ts
Methods |
constructor(http: HttpClient, optionsService: OptionsService, cachedLocaleDictionaryService: CachedLocaleDictionaryService, path: string, languages: any)
|
||||||||||||||||||
Parameters :
|
getDictionaryWithTrimmedKeys | ||||||
getDictionaryWithTrimmedKeys(dictionary: object)
|
||||||
We want to have translation keys unified, so they don't contain unnecessary spaces and line breaks. This way we can dynamically build keys from HTML, and match them to extracted string, that might be HTML as well.
Parameters :
Returns :
any
|
getTranslation | ||||||
getTranslation(lang: string)
|
||||||
Parameters :
Returns :
Observable<any>
|