on 02-16-2004 9:29 AM
We have static HTML content called from .NET iViews and we now have a requirement to translate this HTML content. Our current process for displaying translated metadata (roles, worksets, pages, iView name, etc) works off the Users IE Language preference. We can insert javascript into the HTML page to re-direct to a translated version, but we can only get this to work using the PC locale and not the IE preferred language. Do you know if javascript can read the IE preferred language, or alternatively detect the logon language.
<SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT">
<!--
document.write("<B>Language:</B> " + navigator.language);
//-->
</SCRIPT>
or
http://www.web-wise-wizard.com/javascript-reference/javascript-jscript-get-user-information.html
would be a nice feature request for the EP portal. Maybe you can post it to our Product Management.
BR,
Oliver
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Oliver.
We have this script in place, however it works of the PC locale as opposed to the IE Preferred Language. We have users that share PC's (using different languages). They are pretty good at changing the IE language but not so good at changing the PC language.
Any further suggestions?
Kind Regards..........Will
userprofile
or Netscape
http://www.faqts.com/knowledge_base/view.phtml/aid/1608/fid/125/lang/en
BR,
Oliver
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.