Create Language translator using ASP.NET


The screenshot below shows the sample text to be translated into a selected language.

To translate text into multiple languages we need to call webservices.There are multiple service codes available in Google so it will not be a problem. You can select any one and can create for your site.

Code logic:

string uri = "http://api.microsofttranslator.com/v2/Http.svc/Translate?appId=" + appId +"&text=" + textvalue + "&from=" + from + "&to=" + to;

Screenshot: 1

languagetraslator0.gif

Screenshot: 2

languagetraslator.gif

Please find the attached code for the language translator.

Hope this article will help you create translator related stuff.

Up Next
    Ebook Download
    View all
    Learn
    View all