The moose likes Beginning Java and the fly likes how to get IE language setting? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "how to get IE language setting?" Watch "how to get IE language setting?" New topic

how to get IE language setting?

gino jersey

Joined: May 24, 2005
Posts: 21
Is there a way to programatically determine the language preference in a user's browser (Internet Explorer?)

Paul Clapham

Joined: Oct 14, 2005
Posts: 18541

Where would this program be running? In the browser as an applet? On the server as a servlet? Somewhere else?
Scott Selikoff
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3704

If this is a servlet/jsp, use HttpServletRequest.getLocale()

My Blog: Down Home Country Coding with Scott Selikoff
I agree. Here's the link: http://aspose.com/file-tools
subject: how to get IE language setting?