Project Description
Google Language ASP.NET Controls is a set of server controls which translate text to different languages in real-time.

With Google Language ASP.NET Controls, you can translate the existing text in your web pages or create new text, the library will translate the text to your destination language on the fly.

Thanks to Google AJAX Language API.

  • Include library:
<%@ Register Assembly="GoogleLanguage.WebControls" Namespace="GoogleLanguage.WebControls" TagPrefix="glc" %>
  • Bootstrap Javascript with LanguageManager:
<glc:LanguageManager ID="LanguageManager1" runat="server" />
  • Use <Literal> tag for new text:
<glc:Literal ID="Literal5" runat="server" Text="Do you like music too?" DestinationLanguage="FRENCH" />
  • Use <Translator> tag for existing text in server controls:
<asp:TextBox ID="TextBox1" runat="server" Text="Important Notice" />
<glc:Translator ID="Translator2" runat="server" TargetControlID="TextBox1" DestinationLanguage="GERMAN" />

Screenshot - Sample Code

Screenshot - Sample Output

Last edited Apr 20, 2009 at 12:01 AM by atsung168, version 4