Fixes #45370: tr is not supported to load "Turkish Language Pack"

This commit is contained in:
Dirk Baeumer 2018-03-13 11:10:02 +01:00
parent 024f5bc3b4
commit d4bace7f75

View file

@ -282,7 +282,7 @@ function getNLSConfiguration(locale) {
let isCoreLangaguage = true;
if (locale) {
isCoreLangaguage = ['de', 'es', 'fr', 'it', 'ja', 'ko', 'ru', 'tr', 'zh-cn', 'zh-tw'].some((language) => {
isCoreLangaguage = ['de', 'es', 'fr', 'it', 'ja', 'ko', 'ru', 'zh-cn', 'zh-tw'].some((language) => {
return locale === language || locale.startsWith(language + '-');
});
}