aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Capture Browser language preference using javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Capture Browser language preference using javascript" Watch "Capture Browser language preference using javascript" New topic
Author

Capture Browser language preference using javascript

Jyoti Aggarwal
Ranch Hand

Joined: May 26, 2009
Posts: 33
Hi I need to capture Browser language preference using javascript. I have tried few thing like



but no matter what is the language selected in the browser it always returns [en-us]. Please help
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6


It might read the system and not browser

You might have to look at the data sent to the server.

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Capture Browser language preference using javascript