From 41ad5aa26d728240f5c284cd68f2dbeecc47e20f Mon Sep 17 00:00:00 2001 From: Trey Greer <61418192+tgreer-bw@users.noreply.github.com> Date: Thu, 8 Jul 2021 18:54:39 -0400 Subject: [PATCH] add Kannada language (#1075) --- src/app/oss.module.ts | 2 ++ src/services/i18n.service.ts | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/app/oss.module.ts b/src/app/oss.module.ts index 9165905e67..b586917277 100644 --- a/src/app/oss.module.ts +++ b/src/app/oss.module.ts @@ -210,6 +210,7 @@ import localeHu from '@angular/common/locales/hu'; import localeId from '@angular/common/locales/id'; import localeIt from '@angular/common/locales/it'; import localeJa from '@angular/common/locales/ja'; +import localeKn from '@angular/common/locales/kn'; import localeKo from '@angular/common/locales/ko'; import localeLv from '@angular/common/locales/lv'; import localeMl from '@angular/common/locales/ml'; @@ -247,6 +248,7 @@ registerLocaleData(localeHu, 'hu'); registerLocaleData(localeId, 'id'); registerLocaleData(localeIt, 'it'); registerLocaleData(localeJa, 'ja'); +registerLocaleData(localeKn, 'kn'); registerLocaleData(localeKo, 'ko'); registerLocaleData(localeLv, 'lv'); registerLocaleData(localeMl, 'ml'); diff --git a/src/services/i18n.service.ts b/src/services/i18n.service.ts index 29765f446d..3daff44238 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', 'bg', 'ca', 'cs', 'da', 'de', 'el', 'eo', 'en-GB', 'en-IN', 'es', 'et', 'fi', 'fr', 'he', 'hr', 'hu', 'id', 'it', 'ja', 'ko', 'lv', 'ml', 'nb', + 'en', 'bg', 'ca', 'cs', 'da', 'de', 'el', 'eo', 'en-GB', 'en-IN', 'es', 'et', 'fi', 'fr', 'he', 'hr', 'hu', 'id', 'it', 'ja', 'kn', 'ko', 'lv', 'ml', 'nb', 'nl', 'pl', 'pt-PT', 'pt-BR', 'ro', 'ru', 'sk', 'sr', 'sv', 'tr', 'uk', 'zh-CN', 'zh-TW', ]; }