en-GB locale

This commit is contained in:
Kyle Spearrin 2019-01-15 20:47:48 -05:00
parent a53462acbf
commit c6e324bf16
2 changed files with 3 additions and 1 deletions

View File

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

View File

@ -8,7 +8,7 @@ export default class I18nService extends BaseI18nService {
});
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',
'zh-CN', 'zh-TW',
];