From 6990056c0489ed719829e89eb116aaf4044f6b93 Mon Sep 17 00:00:00 2001 From: Trey Greer <61418192+tgreer-bw@users.noreply.github.com> Date: Sun, 11 Jul 2021 17:44:40 -0400 Subject: [PATCH] Add AZ language (#988) --- 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 c204cc8e..2a4616e2 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -67,6 +67,7 @@ import { NavComponent } from './layout/nav.component'; import { registerLocaleData } from '@angular/common'; import localeAf from '@angular/common/locales/af'; +import localeAz from '@angular/common/locales/az'; import localeBe from '@angular/common/locales/be'; import localeBg from '@angular/common/locales/bg'; import localeBn from '@angular/common/locales/bn'; @@ -111,6 +112,7 @@ import localeZhCn from '@angular/common/locales/zh-Hans'; import localeZhTw from '@angular/common/locales/zh-Hant'; registerLocaleData(localeAf, 'af'); +registerLocaleData(localeAz, 'az'); registerLocaleData(localeBe, 'be'); registerLocaleData(localeBg, 'bg'); registerLocaleData(localeBn, 'bn'); diff --git a/src/services/i18n.service.ts b/src/services/i18n.service.ts index 315797f2..af508568 100644 --- a/src/services/i18n.service.ts +++ b/src/services/i18n.service.ts @@ -13,7 +13,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', + 'en', 'af', 'az', 'be', 'bg', 'bn', 'ca', 'cs', 'da', 'de', 'el', 'en-GB', 'en-IN', 'es', 'et', 'fa', 'fi', 'fr', 'he', 'hr', 'hu', 'id', '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', ];