Fixes #45370: tr is not supported to load "Turkish Language Pack"
This commit is contained in:
parent
024f5bc3b4
commit
d4bace7f75
|
@ -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 + '-');
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue