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 3b87118 commit e41a8fbCopy full SHA for e41a8fb
lib/common/util/config.js
@@ -121,7 +121,7 @@ function initializeConfig () {
121
const languageId = window.localStorage.getItem('lang')
122
? window.localStorage.getItem('lang')
123
: navigator.language
124
- const active = languages.find(l => l._id === languageId) ||
+ const active = languages.find(l => l._id.includes(languageId)) ||
125
languages.find(l => l._id === 'en-US')
126
if (!active) throw new Error('Language file is misconfigured!')
127
// is an array containing all the matching modules
0 commit comments