summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--help3xsl/index2.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/help3xsl/index2.html b/help3xsl/index2.html
index 58a17f6271..43816853c1 100644
--- a/help3xsl/index2.html
+++ b/help3xsl/index2.html
@@ -49,7 +49,8 @@
window.open(newURL,'_self');
}else{
// URL came from elsewhere, direct access to webroot, we redirect to main Help page
- window.open('en-US/text/shared/main0108.html?&DbPAR=WRITER&System=WIN','_self');
+ var userLang = navigator.language || navigator.userLanguage;
+ window.open(userLang + '/text/shared/main0108.html?&DbPAR=WRITER&System=WIN','_self');
}
</script>
</body>