add korean to i18n

This commit is contained in:
Kyle Spearrin 2019-05-15 08:52:43 -04:00
parent 20112688ab
commit c2f801b6a9
2 changed files with 4 additions and 2 deletions

View File

@ -182,6 +182,7 @@ import localeEt from '@angular/common/locales/et';
import localeFr from '@angular/common/locales/fr';
import localeIt from '@angular/common/locales/it';
import localeJa from '@angular/common/locales/ja';
import localeKo from '@angular/common/locales/ko';
import localeNb from '@angular/common/locales/nb';
import localeNl from '@angular/common/locales/nl';
import localePl from '@angular/common/locales/pl';
@ -204,6 +205,7 @@ registerLocaleData(localeEt, 'et');
registerLocaleData(localeFr, 'fr');
registerLocaleData(localeIt, 'it');
registerLocaleData(localeJa, 'ja');
registerLocaleData(localeJa, 'ko');
registerLocaleData(localeNb, 'nb');
registerLocaleData(localeNl, 'nl');
registerLocaleData(localePl, 'pl');

View File

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