From 00a339ebf4d3eacb178968f6749bea1587930ccd Mon Sep 17 00:00:00 2001 From: Andre Weinand Date: Fri, 2 Feb 2018 10:37:05 +0100 Subject: [PATCH] make locale comparison case-unsensitive; fixes #42304 --- src/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.js b/src/main.js index 4ea1b759b04..d458afd8dad 100644 --- a/src/main.js +++ b/src/main.js @@ -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: {} };