Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jun 03, 2012 04:59 PM by MahadTECH
Jun 02, 2012 06:16 AM|LINK
i also found a similar solution here
but what i want is that the textboxes shows iteself without any virtual keyboard as i want it in my whole website, i just want to set the font to hindi(Devlys or KrutiDev ) but changing the font doesnt work ,the thing still types in english, so i tried using
Please look through the issue , i just want it to work for hindi or if their is a way that i can directly decide my font for Textboxes would be great too, again i dont want transliteration.
Jun 02, 2012 09:22 AM|LINK
There is a very basic requirement today on most websites to allow visitors to write in their favorite Indian language.
This helps in engaging user more closely with the site. Google has launched a new api to help us do that.
2) This api exposes many Indian languages which the user can type using english keyboard.
3) The google service is so good and intelligent that it almost perfectly identifies the word user is trying to type and converts it into the respective language.
4) The api can be attached with any text box and the text box turns multilingual at run time.
Here is how you can implement it in asp.net:
1) Create a text box with "runat=server" attribute. The api can be used with non-server controls also. In that case, there is no need for "runat=server" attribute to be added.
This code will allow the user to type in Hindi and English using english keyboard.
Points to Note:
1) The transliterationEnabled(show in red) is set to false. This will make the default language as 'English'. To start writing in Hindi, user should press 'Ctrl+G'. 'Ctrl+G' is a shortcut used to toggle between English and Hindi.
2) <%=TXTReview.ClientID%>[/color] : This code fetches the ID of the text box at client browser in asp.net.
1) Get the API from Google for your site:
Jun 03, 2012 04:42 PM|LINK
keyboard if you can give me a bit of code for just one key from eng to hindi mapped i can do the others as i am unable to parse the problem in it.
thanks and regards
Jun 03, 2012 04:59 PM|LINK
One option is to use IME editor (http://geekswithblogs.net/vivek/archive/2007/02/01/105121.aspx) client side for typing in Hindi and english. But for a more advanced orkut like functionality you will need to write AJAX based code which will convert english
letters to Hindi Unicode at runtime.
Check these links: