views:

282

answers:

3

Hello all,I m building a web project in jquery being used in client side and jsp/servlets at server end,i have a text area in which user writes and that written text is displayed in chat box text area.now i want to suport multiple languages in it.Earlier i was using only english.Now i want that if user writes in english it should be displayed in arabic in chat box area.What ever language user selects arabic,french,german,latin from a drop down the text shold be converted in that particular language.Presently i need to implement arabic first then later on other languages.Plz help

+1  A: 

Erm. What I would recommend, rather than all this drop-down-selecting business, is simply making your chat application's presentation-layer and persistence-layer encoding UTF-8, which supports your users inputting whatever locally appropriate characters they like.

chaos
+1  A: 

As I read it, you want a translation from english to other languages. So you might want to take a look at the google translation api, it is quite useable and accurate.

HTH, flokra

flokra
Thanks flokra ,actually i dont want traslator ,i wnt if sumbody writes in english hii,it shold be converted in arabic or german as hii in their language.
that's what a translator does or am I missing something?
flokra
A: 

hi you may want to take a look at this.. it supports english to arabic text conversion. http://weblogs.asp.net/salimfayad/pages/arabic-textbox-control.aspx

hannahhh