Google Multiple Languages Translator Code for website

Are you looking for Google multiple Languages translator, (translation) HTML code for your website?

IF THE ANSWER IS “YES” THEN:

To insert the Google Translate button into your website page or post:

1. Copy the following code snippet

<div id="google_translate_element"></div>
<script type="text/javascript">// <![CDATA[
function googleTranslateElementInit() {
new google.translate.TranslateElement({pageLanguage: 'en', layout: google.translate.TranslateElement.InlineLayout.SIMPLE}, 'google_translate_element');
}
// ]]></script>
<script src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit" type="text/javascript"></script>

2. Go to your desired page or blog post and click Edit.

3. Paste the Above code snippet into HTML Extension of the page or blog post you want it to be translated

4. And “Publish” the page or post.

Your button should look like this:

google-translate-button

Be the first to comment

Give Feedback About This Article