From 2145c3f88c8f08e148e3fc4506ae244df3b5f63d Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Tue, 15 Sep 2020 13:38:46 -0400 Subject: [PATCH] language updates --- src/app/app.module.ts | 4 ++++ src/services/i18n.service.ts | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/app/app.module.ts b/src/app/app.module.ts index dc40ba0b3a..fe87b83bb3 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -193,6 +193,8 @@ import localeHe from '@angular/common/locales/he'; import localeIt from '@angular/common/locales/it'; import localeJa from '@angular/common/locales/ja'; import localeKo from '@angular/common/locales/ko'; +import localeLv from '@angular/common/locales/lv'; +import localeMl from '@angular/common/locales/ml'; import localeNb from '@angular/common/locales/nb'; import localeNl from '@angular/common/locales/nl'; import localePl from '@angular/common/locales/pl'; @@ -218,6 +220,8 @@ registerLocaleData(localeHe, 'he'); registerLocaleData(localeIt, 'it'); registerLocaleData(localeJa, 'ja'); registerLocaleData(localeKo, 'ko'); +registerLocaleData(localeLv, 'lv'); +registerLocaleData(localeMl, 'ml'); registerLocaleData(localeNb, 'nb'); registerLocaleData(localeNl, 'nl'); registerLocaleData(localePl, 'pl'); diff --git a/src/services/i18n.service.ts b/src/services/i18n.service.ts index b487185945..74346e8a3b 100644 --- a/src/services/i18n.service.ts +++ b/src/services/i18n.service.ts @@ -11,8 +11,8 @@ export class I18nService extends BaseI18nService { }); this.supportedTranslationLocales = [ - 'en', 'ca', 'cs', 'da', 'de', 'el', 'en-GB', 'es', 'et', 'fr', 'he', 'it', 'ja', 'ko', 'nb', 'nl', 'pl', - 'pt-PT', 'pt-BR', 'ru', 'sk', 'sv', 'uk', 'zh-CN', 'zh-TW', + 'en', 'ca', 'cs', 'da', 'de', 'el', 'en-GB', 'es', 'et', 'fr', 'he', 'it', 'ja', 'ko', 'lv', 'ml', 'nb', + 'nl', 'pl', 'pt-PT', 'pt-BR', 'ru', 'sk', 'sv', 'uk', 'zh-CN', 'zh-TW', ]; } }