permaculture playing cards*
The moose likes Struts and the fly likes Multilanguage support Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Multilanguage support" Watch "Multilanguage support" New topic
Author

Multilanguage support

Namrta Pandey
Ranch Hand

Joined: Jul 22, 2008
Posts: 36
HI,

I am developing an Java/struts based application for one of the company in Thailand, now the problem is that i need to make all the input fields in Thai language only. For labels and messeges i know i can use MessageResoures, but how will i enable the input fields to accept Thai language? Second problem is that, if user will enter data in Thai language, then how will i convert data into english for putting validation and saving them into database. I need Thai language only at client interface, after that it needs to be converted in english for rest of the process.

Please help me ASAP, Thanks in advance.

Namrta.
Vicky Vijay
Ranch Hand

Joined: Apr 23, 2008
Posts: 125
Hello Namrta,


You can use the Translator API to resolve your problem,


They need to handle at

1. Client Side

2. Server Side




You can use the GOOGLE JAVA API for translation..


Check the below link,

http://code.google.com/p/google-api-translate-java/
http://code.google.com/p/google-translate-api-java-client/
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Multilanguage support
 
Similar Threads
Globalization
Java Applet not response on MS IE6 when switch Windows language
Problem I18N with JSF
Language diaplay problem in the UI for other than English
Store and retrieve Thai Data from HashMap