diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 90ebe1bfd3..36ddc29de5 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -137,9 +137,17 @@ import { SearchPipe } from 'jslib/angular/pipes/search.pipe'; import { registerLocaleData } from '@angular/common'; import localeDa from '@angular/common/locales/da'; +import localeDe from '@angular/common/locales/de'; +import localePt from '@angular/common/locales/pt'; +import localePtPt from '@angular/common/locales/pt-PT'; +import localeRu from '@angular/common/locales/ru'; import localeSk from '@angular/common/locales/sk'; registerLocaleData(localeDa, 'da'); +registerLocaleData(localeDe, 'de'); +registerLocaleData(localePt, 'pt-BR'); +registerLocaleData(localePtPt, 'pt-PT'); +registerLocaleData(localeRu, 'ru'); registerLocaleData(localeSk, 'sk'); @NgModule({ diff --git a/src/services/i18n.service.ts b/src/services/i18n.service.ts index cbdb4282a5..7a44152fd5 100644 --- a/src/services/i18n.service.ts +++ b/src/services/i18n.service.ts @@ -11,7 +11,7 @@ export class I18nService extends BaseI18nService { }); this.supportedTranslationLocales = [ - 'en', 'da', 'sk', + 'en', 'da', 'de', 'pt-PT', 'pt-BR', 'ru', 'sk', ]; } }