Hi,
I'm encountering something weird when trying to localize some messages
using Tapestry.
I'll make a short description of the problem and of the context:
I'm using Tapestry 4.1.6 and have some page messages that should get
localized. I have the next structure of *.properties file :
WEB-INF/stuff/A.properties
WEB-INF/servlet-name.properties
WEB-INF/X.jar
The X.jar file is actually a localization package. It contains
*.properties files with the following structure :
WEB-INF/stuff/A_fr.properties
WEB-INF/servlet-name_fr.properties
The problem is that if i have a message which is not stored in
A.properties or A_fr.properties but in servlet-name.properties and
servlet-name_fr.properties and i set the browser's (Firefox) language to
french, this message gets not translated. It gets displayed in english
(base language for message catalogs).
On the other hand, this happens only with messages in the files on the
"root" level of the jar file. The messages from the A_fr.properties are
translated ok.
I think this is somehow related to the inclusion of the jar file because
if i don't use this jar localization package and i simply put the
*_fr.properties files, then everything works just fine.
Does anyone have an idea why this happens and how to get it solved?
Maybe it is some kind of issue related to this problem (i searched the
issue list on JIRA but couldn't find one) ?
Any help would be gladly appreciated. Thanks,
Bogdan
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org