Webserver: -add: detect user language automatically

This commit is contained in:
lukeIam committed 2013-12-13 18:03:14 +01:00
1 parent f00f3eb5ad
commit 43be5ff5cf
1 file changed
+2 -2
+2 -2
View File
@@ -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: ':::'