User751840860 posted
hi,
i was trying to use the google language api dll, i hav added the dll in my soln and added the necessary lines of code
but it doesnt seem to work
am not able to get any french , german lang words in this sample:
added the googlelanguage.webcontrols dll
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="DemoWebApplication1._Default" %>
<%@ Register Assembly="GoogleLanguage.WebControls" Namespace="GoogleLanguage.WebControls" TagPrefix="glc" %>
added teh below code:
<body>
<form id="form1" runat="server">
<glc:LanguageManager ID="LanguageManager1" runat="server" />
<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
<asp:UpdatePanel ID="ChatUpdatePanel" runat="server" UpdateMode="Always">
<ContentTemplate>
<glc:Literal ID="Literal5" runat="server" Text="Do you like music too?" DestinationLanguage="FRENCH" />
<h1>
<h6>Examples: Literals</h6>
<p> <glc:Literal ID="Literal1" runat="server" Text="How are you?" DestinationLanguage="JAPANESE" />
<p>
<glc:Literal ID="Literal2" runat="server" DestinationLanguage="RUSSIAN"
Text="I am fine." />
<h7>Example: Translators</h7>
<p>
<asp:Label ID="Label1wed" runat="server" Text="Today is Wednesday." />
<glc:Translator ID="Translatorko" runat="server" TargetControlID="Label1wed" DestinationLanguage="KOREAN" />
</p>
<p>
<asp:TextBox ID="TextBox2impnotice" runat="server" Text="Important Notice" />
<glc:Translator ID="Translatorgerm" runat="server" TargetControlID="TextBox2impnotice" DestinationLanguage="GERMAN" />
</p>
but its doesnt seem to be working :
http://googlelanguage.codeplex.com/SourceControl/latest#GoogleLanguage/SampleWebsite/Properties/AssemblyInfo.cs
can any one give some pointers here, pls