We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afdd506 commit a75c96dCopy full SHA for a75c96d
packages/base/src/asset-registries/i18n.js
@@ -56,8 +56,9 @@ const fetchI18nBundle = async packageName => {
56
}
57
58
const language = getLocale().getLanguage();
59
+ const region = getLocale().getRegion();
60
- let localeId = normalizeLocale(language);
61
+ let localeId = normalizeLocale(language + (region ? `-${region}` : ``));
62
while (localeId !== DEFAULT_LANGUAGE && !bundlesForPackage[localeId]) {
63
localeId = nextFallbackLocale(localeId);
64
0 commit comments