struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Young, Wayne" <WYo...@metasolv.com>
Subject wrong locale selected at runtime
Date Mon, 12 Mar 2001 19:05:49 GMT

I have two languages in my IE 5.5 language preference with the following
order of priority:
English (United States) [en-us]
Spanish (Mexico) [es-mx]

Note that [en-us] is listed first. But when I run my application, it shows
me the Spanish resources. If I reverse the order, it shows me the English
resources.

This worked correctly in struts 0.5, but with 1.0b1 it chooses the wrong
locale. I have the locale init-param set in web.xml.
<init-param>
  <param-name>locale</param-name>
  <param-value>true</param-value>
</init-param>

Any suggestions? 

Thanks.

Wayne
wyoung@metasolv.com

Mime
View raw message