Add Google Translate Widget to your site.!

unnamed

Google Translate widget allow user to convert webpage in their native language.

To add this widget to your site put bellow meta tag inside <head> …. </head> section. and place bellow <div id=”google_translate_element”> tag in body section wherever you want to display widget. this code also available on Google.

<meta name=”google-translate-customization” content=”6e4db4d5f4d2558b-e0d1d81353eae122-g1ff482c45ccd2410-1e”></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, multilanguagePage: true}, ‘google_translate_element’);
}
</script><script type=”text/javascript” src=”//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit”></script>


Testing file

<html>
<head>
<meta name=”google-translate-customization” content=”6e4db4d5f4d2558b-e0d1d81353eae122-g1ff482c45ccd2410-1e”></meta>
</head>
<body>
<div id=”google_translate_element”></div><script type=”text/javascript”>
function googleTranslateElementInit() {
new google.translate.TranslateElement({pageLanguage: ‘en’, layout: google.translate.TranslateElement.InlineLayout.SIMPLE, multilanguagePage: true}, ‘google_translate_element’);
}
</script><script type=”text/javascript” src=”//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit”></script>
Copy and paste the following code snippets onto every page you want to translate
Place this meta tag before the closing
</body>
</html>


13 thoughts on “Add Google Translate Widget to your site.!

  1. Hey There. I discovered your weblog the usage of msn. That is a very smartly written article. I will make sure to bookmark it and return to learn more of your useful information. Thank you for the post. I will definitely return.

  2. I believe this is one of the most vital information for me. And i’m satisfied studying your article. But want to observation on few common things, The web site style is ideal, the articles is in point of fact nice : D. Just right process, cheers

  3. What’s up friends, pleasant piece of writing and nice arguments commented at this place, I am really enjoying by these.

  4. U have a great weblog over here. I just wanna thank you for all the interesting info on it. I’ll follow your website if you keep up the good work!

  5. Great post, very informative. I wonder why the other experts of this sector don’t notice this. You must proceed your writing. I’m sure, you have a huge readers’ base already!|What’s Happening i’m new to this, I stumbled upon this I have discovered It absolutely useful and it has helped me out loads. I am hoping to contribute & help other users like its helped me. Good job.

  6. Valuable information. Fortunate me I discovered your web site unintentionally, and I am shocked why this coincidence didn’t took place earlier! I bookmarked it.

  7. just stumbled upon your blog and wanted to say that i have really enjoyed reading your blog posts. any way i’ll be subscribing to your feed and i hope you post again soon.

  8. You’re actually a excellent webmaster. The website loading velocity is incredible. It sort of feels that you’re doing any unique trick. Also, The contents are masterpiece. you have performed a wonderful task in this matter!

  9. We’re a gaggle of volunteers and starting a new scheme in our community. Your website provided us with valuable info to paintings on. You have performed a formidable activity and our whole neighborhood can be grateful to you.

  10. Write more, thats all I have to say. Literally, it seems as
    though you relied on the video to make your point.
    You definitely know what youre talking about, why throw away your
    intelligence on just posting videos to your blog when you could be giving us something enlightening to read?

Leave a reply to search Cancel reply