This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan 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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem with internationalisation
 
Similar Threads
Internationalization (i18n)
localesdata.jar
Accessing chinese folder through URL
how to set the locale for display tag
java.awt components not able to display some non-english