wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes how i can extract the locale or language from http header ? 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 "how i can extract the locale or language from http header ?" Watch "how i can extract the locale or language from http header ?" New topic
Author

how i can extract the locale or language from http header ?

raminaa niilian
Ranch Hand

Joined: Jul 14, 2005
Posts: 550
Hi
what is the field that is in http header which shows locale or language ?
from where this field come ?

thanks
ankur rathi
Ranch Hand

Joined: Oct 11, 2004
Posts: 3830
Originally posted by raminaa niilian:
Hi
what is the field that is in http header which shows locale or language ?
from where this field come ?

thanks


I am not sure, what exactly you are looking for:

But the header for user's language is: Accept-Language

Why are not you using request.getLocale() method??? :roll:
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60059
    
  65

Originally posted by rathi ji:

Why are not you using request.getLocale() method??? :roll:


The OP said nothng about using JSP or servlets.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how i can extract the locale or language from http header ?
 
Similar Threads
Advanced question (I think)
How to Allow User to Select a Locale
Internationalization with dropdown
how to get client country name?
Accessing Http Header in Spring