ASP.NET WEBSITE LANGUAGE TRANS LATER:
REGISTER IN THIS LINK:
http://translate.google.com (website translate)(register or gmail account)
How to code add your application
Default.aspx
REGISTER IN THIS LINK:
http://translate.google.com (website translate)(register or gmail account)
Register your website:
How to display language translator:(Horizontal or vertical)
You get code:
Sample code for google translater:
<meta name="google-translate-customization"
content="9891848e48cb5171-20003ebf85e0cc0e-gc32bc85a0cee885f-21"></meta>
<div id="google_translate_element"></div><script
type="text/javascript">
function googleTranslateElementInit() {
new
google.translate.TranslateElement({pageLanguage: 'en', layout:
google.translate.TranslateElement.InlineLayout.SIMPLE},
'google_translate_element');
}
</script><script type="text/javascript"
src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
How to code add your application
Default.aspx
<%@ Page
Language="C#"
AutoEventWireup="true"
CodeBehind="WebForm1.aspx.cs"
Inherits="langtranslater.WebForm1"
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD
XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<meta name="google-translate-customization"
content="9891848e48cb5171-20003ebf85e0cc0e-gc32bc85a0cee885f-21"></meta>
</head>
<body>
<form id="form1" runat="server">
<div>
<div id="google_translate_element"></div><script type="text/javascript">
function googleTranslateElementInit() {
new google.translate.TranslateElement({
pageLanguage: 'en', layout:
google.translate.TranslateElement.InlineLayout.SIMPLE }, 'google_translate_element');
}
</script><script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
</div>
</form>
</body>
</html>
Output: