Google Translate Website Translator using google Translate Element Init

mixanikos365

We no longer provide new access to Google Translate's Website Translator. This change does not affect existing use of the Website Translator. We encourage users looking to translate webpages to use browsers that support translation natively.

Preview the script code:

<script type='text/javascript'>
//<![CDATA[

 (function() {
    var mylang = "id", // Your website language
        anchor = document.getElementById('translate-me');
    anchor.onclick = function() {
        window.open('https://translate.google.com/translate?u=' + encodeURIComponent(location.href) + '&langpair=' + mylang + '%7C' + document.getElementById('translate-language').value + '&hl=en');
        return false;
    };
})(); 
  
//]]>
</scri
Tags

#buttons=(Accept !) #days=(20)

Our website uses cookies to enhance your experience. Learn More
Accept !