• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Output in different languages ????

 
Rakesh Gadre
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need some help in getting the output in other languages apart from english.
The application is like this :
I have a text field in which user will type some text, and then the user will select a language from a drop down list.
After selection, the text should be changed in that specific language.
please revert ASAP.
thanks in advance.
Rakesh
 
Joe Broderick
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this sounds like a big task to do? you will have to start with having some dicrionary, such as a bunch of words in a database. you may want to have the table set up so that feild 1 has the first word in english, then another language and so on. you would then have to search what the user entered to see if the word is in the database, and if it is, to change it with the equivelent word. this probably is a very big task to do because if you want to get it done right you will have to select words based on the context of how it is presented.
 
Juanjo Bazan
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check the java.util.ResourceBundle class javadocs.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic