en-GB locale

This commit is contained in:
Kyle Spearrin 2019-01-15 20:49:15 -05:00
parent 68f69074cb
commit 64f41f004d
2 changed files with 3 additions and 1 deletions

View File

@ -163,6 +163,7 @@ import { registerLocaleData } from '@angular/common';
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 localeFr from '@angular/common/locales/fr';
@ -183,6 +184,7 @@ import localeZhTw from '@angular/common/locales/zh-Hant';
registerLocaleData(localeCs, 'cs');
registerLocaleData(localeDa, 'da');
registerLocaleData(localeDe, 'de');
registerLocaleData(localeEnGb, 'en-GB');
registerLocaleData(localeEs, 'es');
registerLocaleData(localeEt, 'et');
registerLocaleData(localeFr, 'fr');

View File

@ -11,7 +11,7 @@ export class I18nService extends BaseI18nService {
});
this.supportedTranslationLocales = [
'en', 'cs', 'da', 'de', 'es', 'et', 'fr', 'it', 'ja', 'nb', 'nl', 'pl', 'pt-PT', 'pt-BR',
'en', 'cs', 'da', 'de', 'en-GB', 'es', 'et', 'fr', 'it', 'ja', 'nb', 'nl', 'pl', 'pt-PT', 'pt-BR',
'ru', 'sk', 'sv', 'uk', 'zh-CN', 'zh-TW',
];
}