Skip to main content

I18nService

Properties

(Mandatory properties are in bold)
PropertiesTypeDescription
callSagacallSaga(sagaName: string,args: any[]): void
changeLocalechangeLocale(locale: string): void
constructornew I18nService(notificationService: default)
contextAppContext
fetchingAnonymousObject<any>
fetchTranslationsfetchTranslations(locale: string,namespaces: string[],options: ): void
getLocaleUrlgetLocaleUrl(locale: string,ns: string,settings: AppSettings): string
initinit(): void
modifiersAnonymousObject<any>
notificationServicedefault
setFetchingTranslationssetFetchingTranslations(fetching: boolean,locale: string,namespaces: string[]): void
setLocalesetLocale(locale: string): void
setTranslationssetTranslations(translations: AnonymousObject<any>,locale: string): void
stateAnyState