en-GB locale
This commit is contained in:
parent
6b6c465499
commit
dfef02f909
|
@ -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');
|
||||||
|
|
|
@ -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',
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in New Issue