• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Multilanguage support

 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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/
 
If you were a tree, what sort of tree would you be? This tiny ad is a poop beast.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic