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.
2 parents 3c18ba8 + 50541dd commit ce9200bCopy full SHA for ce9200b
src/utils/Localization.js
@@ -89,9 +89,9 @@ export default class Localization {
89
currentLocale = localizationCookie;
90
}
91
var topLevel = currentLocale.split('-')[0];
92
- if (topLevel === 'zh') {
+ if (topLevel === 'zh' || topLevel === 'pt') {
93
// need to handle locale in addition to language code for Chinese,
94
- // ensure it's lower case to match filename
+ // and Portuguese, ensure it's lower case to match filename
95
topLevel = currentLocale.toLowerCase();
96
97
0 commit comments