Click on the following LINK
https://translate.google.com/manager/website/
Click on Add to your Website Now
Write the following Code in webform.
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<meta name="google-translate-customization" content="2b3b4b31accf3a87-34ae433b7837812c-ge03cc87601ebf729-12"></meta>
</head>
<body>
<form id="form1" runat="server">
<div id="google_translate_element">
Uday Kumar
</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>
</form>
</body>
</html>
Output:
https://translate.google.com/manager/website/
Click on Add to your Website Now
Click on Next
Write the following Code in webform.
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<meta name="google-translate-customization" content="2b3b4b31accf3a87-34ae433b7837812c-ge03cc87601ebf729-12"></meta>
</head>
<body>
<form id="form1" runat="server">
<div id="google_translate_element">
Uday Kumar
</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>
</form>
</body>
</html>
Output:
No comments:
Post a Comment
Thank you for visiting my blog