struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Petrelli" <antonio.petre...@gmail.com>
Subject Re: [S2] i18n messages, Tiles2 l10n, "default" locale, and browser preferences.
Date Thu, 24 Jul 2008 07:00:40 GMT
Pierre,
about the Tiles part, I suggest to ask this question at Tiles Users
mailing list:
http://tiles.apache.org/mail.html
For the rest, see comments inline.

2008/7/23 Pierre Thibaudeau <pierre.thibaudeau@gmail.com>:
> Using Struts 2.1.2
> My browser (Firefox 3) has a prefered locale (and only one):  fr_CA
> Struts2 constant: struts.locale=en_US
>
> I use i18n throughout the software.
> There is a "default" resource (whose content happens to be in
> English): ApplicationResource.properties.
> There are also resource bundles in 4 languages:
>   ApplicationResources_fr.properties,
>   ApplicationResources_it.properties,
>   ApplicationResources_de.properties,
>   ApplicationResources_es.properties.
>
> Until last week, there was no English resource file (since the default
> one was taking care of it).
> That strategy worked perfectly in Struts1, but it seems that in
> Struts2, the system has a mind of its own:
> given my browser's preference, the default bundle (on my system) seems
> to be ApplicationResources_fr.properties insteand of
> ApplicationResources.properties...

This is a bug:
https://issues.apache.org/struts/browse/WW-2345

Antonio

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message