This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Struts and the fly likes Problem with internationalisation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Problem with internationalisation" Watch "Problem with internationalisation" New topic
Author

Problem with internationalisation

sreenath reddy
Ranch Hand

Joined: Sep 21, 2003
Posts: 415
Hi

i need chinese and english support for my web application .so i used two properties file with names ApplicationResources.properties and ApplicationResources_zh.properties..........and i used everywhere <bean:message to dispaly the labels....but the starnge thing is that i am running my system on chinese server and i am running from english client(Locale is set to en_US) but the UI is coming in chinese .............i am so shocked the server should pick from clients locale ...........why is this happening ??? but if i run on server with english locale everytghing is working fine

is it that my filename should be ApplicationResources_en.properties rather than ApplicationResources.properties............if so how is it working fine on english server

any clue on this would be really thankful
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Problem with internationalisation