cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 10559] - [PATCH] parseLocale in I18nUtils.java
Date Tue, 09 Jul 2002 09:51:48 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10559>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10559

[PATCH] parseLocale in I18nUtils.java





------- Additional Comments From kpiroumian@protek.com  2002-07-09 09:51 -------
So, you can never predict what format else a user can choose? Not so good.

I'll add '@' and '.' delimiters to support advanced Linux users who use their own 
formats, but I don't think that it's a good idea.

An interesting thing is that even when I choose 'fr-ch' in MSIE or Mozilla I get the 
following values:
request.getHeader("Accept-Language") = fr-ch,ru;q=0.8,en;q=0.5,hy;q=0.3 
but
request.getLocale() = fr_CH 

Anybody knows where does this metamorphose happen? Is it Tomcat specific 
behavior? Couldn't find anything related to it in Servlet 2.3.

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message