Click here to Skip to main content
15,888,461 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi experts,

I have got one requirement there i need to fetch all the Kannada names from database
after that it should be converted to English and should be saved in the database.
can any one please help me to convert Kannada names to English using c#

thanks in advance
(Keerthi Kumar)
Posted
Updated 11-Aug-14 0:22am
v2

Use goole api
https://developers.google.com/translate/v2/using_rest?hl=ja
Use of google api language translator

C#
//input = kannad part to convert
//languagePair = kn|en   i.e kannad to english

  string url = String.Format("http://www.google.com/translate_t?hl=en&ie=UTF8&text={0}&langpair={1}", input, languagePair);

    WebClient webClient = new WebClient();

    webClient.Encoding = System.Text.Encoding.UTF8;

    string result = webClient.DownloadString(url);



OR you can use GoogleTranslateAPI.dll

http://weblogs.asp.net/jalpeshpvadgama/google-translation-api-integration-in-net
 
Share this answer
 
v4
Comments
Keerthi Kumar(Andar) 11-Aug-14 7:54am    
Can you please tl me how to include kannada part???
Keerthi Kumar(Andar) 11-Aug-14 7:59am    
Is this online translation???
pradiprenushe 11-Aug-14 8:18am    
You can check last link if you have to use dll. Both options requires internet connection.If you dont want to use inter net then where do you find data of Kannada language and english language. ie. words . Then you should first gather data , grammar syntax, write some heavy logic to convert it. If dll providing this functionality then will not give their data storage free of cost.
Keerthi Kumar(Andar) 11-Aug-14 8:23am    
Is there any free dll which doesn't require internet connection???
pradiprenushe 11-Aug-14 8:28am    
No. I dont think you will get it free of cost.
you can also use Azure microsoft language translator api , its also easy to integrate ...
 
Share this answer
 
Comments
Keerthi Kumar(Andar) 13-Aug-14 0:40am    
Can I have some demo codes???

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900