Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to test internationalization in java using locale

 
Aishvarya Morolia
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I wanna test my application wch takes input from user as in some of the details of a computer configuration. i wanna test my web application on different languages as well for all the user of the world ... somebody plzz help me asap.
 
M K Rayapudi
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
refer java.lang.Locale
Almost all the frameworks are supporting I18n, it is more easy with Frameworks.

 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64828
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please use real words when posting to the forums. Abbreviations such as "plzz" in place of "please" only serve to make your posts more difficult to read and less likely to generate useful responses.

Please read this for more information.

thanks,
bear
JavaRanch sheriff
 
Aishvarya Morolia
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Apologies for the same bear.Will keep in mind and make sure will not be repeated in future and thanks murali for the valuable input.It really helped.
 
Anuj Rathi
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To test internationalization using your browser, it's easy to do it with Firefox. You should install an add-on called "quick locale switcher".
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's not necessary to install any add-ons. In Firefox you can select different languages under "Preferences -> Content -> Languages".
 
Ketan Parikh
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is really easy to set different languages (locales) in Internet Explorer (Version 8).
Tools -> Internet Options -> Languages (on General Tab)

If you want to set different locale in windows, you may try Control Panel -> Regional And Language Options.

To test it, you may write a sample program to display Date using locale.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic