en-GB locale

This commit is contained in:
Kyle Spearrin 2019-01-15 20:46:44 -05:00
parent 6b6c465499
commit dfef02f909
2 changed files with 3 additions and 1 deletions

View File

@ -60,6 +60,7 @@ import localeBg from '@angular/common/locales/bg';
import localeCs from '@angular/common/locales/cs'; import localeCs from '@angular/common/locales/cs';
import localeDa from '@angular/common/locales/da'; import localeDa from '@angular/common/locales/da';
import localeDe from '@angular/common/locales/de'; import localeDe from '@angular/common/locales/de';
import localEnGb from '@angular/common/locales/en-GB';
import localeEs from '@angular/common/locales/es'; import localeEs from '@angular/common/locales/es';
import localeEt from '@angular/common/locales/et'; import localeEt from '@angular/common/locales/et';
import localeFa from '@angular/common/locales/fa'; import localeFa from '@angular/common/locales/fa';
@ -91,6 +92,7 @@ registerLocaleData(localeBg, 'bg');
registerLocaleData(localeCs, 'cs'); registerLocaleData(localeCs, 'cs');
registerLocaleData(localeDa, 'da'); registerLocaleData(localeDa, 'da');
registerLocaleData(localeDe, 'de'); registerLocaleData(localeDe, 'de');
registerLocaleData(localEnGb, 'en-GB');
registerLocaleData(localeEs, 'es'); registerLocaleData(localeEs, 'es');
registerLocaleData(localeEt, 'et'); registerLocaleData(localeEt, 'et');
registerLocaleData(localeFa, 'fa'); registerLocaleData(localeFa, 'fa');

View File

@ -13,7 +13,7 @@ export class I18nService extends BaseI18nService {
}); });
this.supportedTranslationLocales = [ this.supportedTranslationLocales = [
'en', 'bg', 'cs', 'da', 'de', 'es', 'et', 'fa', 'fi', 'fr', 'hr', 'hu', 'id', 'it', 'ja', 'en', 'bg', 'cs', 'da', 'de', 'en-GB', 'es', 'et', 'fa', 'fi', 'fr', 'hr', 'hu', 'id', 'it', 'ja',
'ko', 'nb', 'nl', 'pl', 'pt-BR', 'pt-PT', 'ro', 'ru', 'sk', 'sv', 'th', 'tr', 'uk', 'vi', 'ko', 'nb', 'nl', 'pl', 'pt-BR', 'pt-PT', 'ro', 'ru', 'sk', 'sv', 'th', 'tr', 'uk', 'vi',
'zh-CN', 'zh-TW', 'zh-CN', 'zh-TW',
]; ];