jQuery in Action, 3rd edition
The moose likes JSP and the fly likes Output in different languages  ???? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Output in different languages  ????" Watch "Output in different languages  ????" New topic

Output in different languages ????

Rakesh Gadre
Ranch Hand

Joined: Feb 22, 2003
Posts: 47
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.
Joe Broderick

Joined: Apr 23, 2003
Posts: 23
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

Joined: Feb 04, 2002
Posts: 231
Check the java.util.ResourceBundle class javadocs.
I agree. Here's the link: http://aspose.com/file-tools
subject: Output in different languages ????
It's not a secret anymore!