add optional lang select

This commit is contained in:
fellinga
2020-12-27 12:59:12 +01:00
parent 9b1c114c3f
commit 4943bde3d4
3 changed files with 4 additions and 2 deletions

View File

@@ -160,7 +160,7 @@ function init() {
suffix: '__'
}
};
var lang = getCurrentLocale();
var lang = settings.lang || getCurrentLocale();
if (lang) {
opt.lng = lang;
}