Hi all
I wrote a multi-language web application (english, franch and italian are
supported languages). My application is deployed in WebSphere Application
Server 6.0. I have noticed internalization works good on Windows XP ma not on
Linux Suse operating system.
In details, when the user chooses the language after login, in the action class
I set the locale in the session:
HttpSession sessionId = myReq.getSession();
Locale locale = new Locale("en", "GB") or new Locale("fr", "FR") or new
Locale("it", "IT")
Config.set(sessionId, Config.FMT_LOCALE, locale);
I added to the default displaytag.properties file the following rows:
locale.provider=org.displaytag.localization.I18nJstlAdapter
locale.resolver=org.displaytag.localization.I18nJstlAdapter
I created one properties file for each supported language:
displaytag_EN.properties
displaytag_FR.properties
displaytag_IT.properties
When WebSphere is installed on Linux Suse, no matter what language the user
chose, it seems (but I am not sure) the paging and export labels are looked for
in according to following strategy: if they are found in the my default
properties file, the research stops; otherwise, they are looked for in the
displaytag.properties file included in the library jar. My localized properties
files are ignored.
Can anyone give me a suggest?
Thanks in advance
Valentina
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user