From cf56b68ba5e10dbec7c1befd33a76abf90764e4c Mon Sep 17 00:00:00 2001 From: Trey Greer <61418192+tgreer-bw@users.noreply.github.com> Date: Tue, 6 Jul 2021 17:40:17 -0400 Subject: [PATCH] add Kannada language (#980) --- src/app/app.module.ts | 2 ++ src/services/i18n.service.ts | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/app/app.module.ts b/src/app/app.module.ts index eee3ec67ca..c204cc8ef6 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -88,6 +88,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'; @@ -131,6 +132,7 @@ registerLocaleData(localeHu, 'hu'); registerLocaleData(localeId, 'id'); registerLocaleData(localeIt, 'it'); registerLocaleData(localeJa, 'ja'); +registerLocaleData(localeKn, 'kn'); registerLocaleData(localeKo, 'ko'); registerLocaleData(localeLv, 'lv'); registerLocaleData(localeMe, 'me'); diff --git a/src/services/i18n.service.ts b/src/services/i18n.service.ts index b9c4fd907f..315797f22f 100644 --- a/src/services/i18n.service.ts +++ b/src/services/i18n.service.ts @@ -14,7 +14,7 @@ export class I18nService extends BaseI18nService { this.supportedTranslationLocales = [ 'en', 'af', 'be', 'bg', 'bn', 'ca', 'cs', 'da', 'de', 'el', 'en-GB', 'en-IN', 'es', 'et', 'fa', 'fi', 'fr', 'he', 'hr', 'hu', 'id', - 'it', 'ja', 'ko', 'lv', 'me', 'ml', 'nb', 'nl', 'pl', 'pt-BR', 'pt-PT', 'ro', 'ru', 'sk', 'sr', 'sv', 'th', 'tr', 'uk', + 'it', 'ja', 'kn', 'ko', 'lv', 'me', 'ml', 'nb', 'nl', 'pl', 'pt-BR', 'pt-PT', 'ro', 'ru', 'sk', 'sr', 'sv', 'th', 'tr', 'uk', 'vi', 'zh-CN', 'zh-TW', ]; }