Translate website using Google API
Translate website using Google API
For using this exciting feature of google for your personal
website you have to create an account with google.
After that go to https://translate.google.com/manager/website/suggestions …
Webpage display to you.
Click on ADD New website button
Here Enter your Website url here on which you wanna conversion.
Here click on Get code button.
Here is your final code just copy and paste in your web pages.
Code on .aspx page
<head runat="server">
<title></title>
<meta name="google-translate-customization" content="e1cb892173f8ff4b-e5b6851cc8c317fa-g11be51affd0c7551-16"></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>
Kandy here.Weekend is coming ,so i have a greate plan for this
weekend.
</div>
</form>
</body>
Comments
Post a Comment