[Fix] to lowercase in locale search

This commit is contained in:
Robert von Burg 2017-11-28 08:40:26 +01:00
parent 33904ed795
commit 99cd6a0832
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ Strolch = {
if (userConfig && this.isNotEmptyString(userConfig.locale)) {
userLocale = userConfig.locale;
if (userLocale.length > 2) {
userLocale = userLocale.substr(0, 2);
userLocale = userLocale.substr(0, 2).toLowerCase();
}
} else {
var userLang;