Skip to content

Commit

Permalink
Merge pull request #22078 from abpframework/pr/SecTex/2184-rebase
Browse files Browse the repository at this point in the history
Fixing local registration for es-build function to consider `cultureNameLocaleFileMap`
  • Loading branch information
ismcagdas authored Feb 4, 2025
2 parents 360a748 + 589980e commit 8a9fdbd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export function registerLocaleForEsBuild(
const l = localeMap[locale] || locale;
const localeSupportList = "ar|cs|en|en-GB|es|de|fi|fr|hi|hu|is|it|pt|tr|ru|ro|sk|sl|zh-Hans|zh-Hant".split("|");

if (localeSupportList.indexOf(locale) == -1) {
if (localeSupportList.indexOf(l) == -1) {
return;
}
return new Promise((resolve, reject) => {
Expand Down

0 comments on commit 8a9fdbd

Please sign in to comment.