This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
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 Head First Android this week in the Android 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: 19693

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: 3740

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

[OCA 8 Book] [Blog]
I agree. Here's the link:
subject: how to get IE language setting?
It's not a secret anymore!