Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem with internationalisation  RSS feed

 
sreenath reddy
Ranch Hand
Posts: 415
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!