Google translator in c#

In this article, we can install google translator in our web site or blog, many times we have doubt how to translate the content in our language like Hindi, French, and English and so on. 


Source Code:-
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="translator.aspx.cs" Inherits="translator" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">
<head runat="server">

    <form id="form1" runat="server">
    <div id="google_translate_element">
    <script type="text/javascript">

        function googleTranslateElementInit() {

            new google.translate.TranslateElement({

                pageLanguage: 'en'

            }, 'google_translate_element');


    <script src="//"
    <fieldset style="width: 350px;">
        <legend>Translator </legend>Code Solution page refer to improve your code skills.
        you can also learn many theoretical question they will be help in interview time.


Note: - You can also create custom translator to click on below link

Google translator in c# Google translator in c# Reviewed by NEERAJ SRIVASTAVA on 7:29:00 PM Rating: 5

No comments:

Powered by Blogger.