Browser Language using Javascript

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • rohanpuri@gmail.com

    Browser Language using Javascript

    Hi All,

    Does anyone know how to find out the browser language set in IE using
    javascript? (Set thru Tools->Internet Options ->Languages)

    navigator.userL anguage
    navigator.brows erLanguage
    navigator.syste mLanguage

    These do not give the browser language. Is there any way to do it using
    just JavaScript?

    Any help is greatly appreciated.

    Thanks
    rpuri

  • Michael Winter

    #2
    Re: Browser Language using Javascript

    On 2 Dec 2004 09:59:34 -0800, <rohanpuri@gmai l.com> wrote:

    [snip]
    [color=blue]
    > These do not give the browser language. Is there any way to do it using
    > just JavaScript?[/color]

    No. However, you can get that information from the Accept-Language header
    on the server.

    Mike

    --
    Michael Winter
    Replace ".invalid" with ".uk" to reply by e-mail.

    Comment

    Working...