Webserver: -add: detect user language automatically
This commit is contained in:
1 parent
f00f3eb5ad
commit
43be5ff5cf
1 file changed
+2
-2
@@ -1056,7 +1056,7 @@ function request(data, message) {
|
||||
if ((typeof message) == "undefined" || message == null) {
|
||||
message = "Loading...";
|
||||
}
|
||||
|
||||
|
||||
if ((typeof data.timeout) == "undefined") {
|
||||
data.timeout = 10000; //10 sec. timeout
|
||||
}
|
||||
@@ -1395,7 +1395,7 @@ function initTranslation() {
|
||||
};
|
||||
$.i18n.init({
|
||||
resStore: translations,
|
||||
lng: "de",
|
||||
supportedLngs: ['en', 'de'],
|
||||
fallbackLng: 'en',
|
||||
keyseparator: '::',
|
||||
nsseparator: ':::'
|
||||
|
||||
Reference in new issue
Block a user