do not reset language on config change

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7354 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
lotus 14 years ago
parent 21e84539e8
commit 6692e862ae

@ -83,7 +83,7 @@ public class ConfigBasic {
}
// language settings
if (post != null && !lang.equals(post.get("language", "default")) &&
if (post != null && post.containsKey("language") && !lang.equals(post.get("language", "default")) &&
(Translator.changeLang(env, langPath, post.get("language", "default") + ".lng"))) {
prop.put("changedLanguage", "1");
}

Loading…
Cancel
Save