提交 00a339eb 编写于 作者: A Andre Weinand

make locale comparison case-unsensitive; fixes #42304

上级 e5cfb6ec
......@@ -484,7 +484,7 @@ app.once('ready', function () {
boot({ locale: 'en', availableLanguages: {} });
} else {
// See above the comment about the loader and case sensitiviness
appLocale.toLowerCase();
appLocale = appLocale.toLowerCase();
getNLSConfiguration(appLocale).then((nlsConfig) => {
if (!nlsConfig) {
nlsConfig = { locale: appLocale, availableLanguages: {} };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册