my web application develop using master page and one of my form
need english to marathi translation . i used this script on this page but not working
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<script type="text/javascript" src="https://www.google.com/jsapi">
</script>
<script type="text/javascript">
// Load the Google Transliterate API
google.load("elements", "1", {
packages: "transliteration"
});
function onLoad() {
var options = {
sourceLanguage:
google.elements.transliteration.LanguageCode.ENGLISH,
destinationLanguage:
[google.elements.transliteration.LanguageCode.HINDI],
transliterationEnabled: true
};
// Create an instance on TransliterationControl with the required
// options.
var control =
new google.elements.transliteration.TransliterationControl(options);
// Enable transliteration in the textbox with id
// 'transliterateTextarea'.
control.makeTransliteratable(['txtfirstname']);
}
google.setOnLoadCallback(onLoad);
</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<table cellpadding="10px" cellspacining="10px" style="width: 100%; border-width: 1px; border-color: #666; border-style: solid">
<tr>
<td colspan="8"><asp:Label ID="Label6" runat="server" BackColor="#CCFFFF" Font-Bold="True" Font-Size="Large" Height="25px" Text="Personal Details" Width="250px"></asp:Label></td>
</tr>
<tr>
<td><asp:Label ID="Label1" runat="server" Font-Size="Large" Text="पहिले नाव इंग्लिश"></asp:Label></td>
<td><asp:TextBox ID="txtfirstname" runat="server" Font-Size="Large" Height="25px" TabIndex="1"></asp:TextBox></td>
<td></td>
</tr>
</table>
</asp:Content>