Skip to content

Commit

Permalink
Fixes microsoft#45370: tr is not supported to load "Turkish Language …
Browse files Browse the repository at this point in the history
…Pack"
  • Loading branch information
dbaeumer committed Mar 13, 2018
1 parent 024f5bc commit d4bace7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 + '-');
});
}
Expand Down

0 comments on commit d4bace7

Please sign in to comment.