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