google translate

Translate website to any specific language, on page load

Pinterest LinkedIn Tumblr
<!-- This code will translate page contents automatically (without user input)
  Settings located at line 9, current script will translate english to estonian -->
<div id="google_translate_element"></div>
    function googleTranslateElementInit() {
        new google.translate.TranslateElement({pageLanguage: 'en', includedLanguages: 'it', autoDisplay: false}, 'google_translate_element');
        var a = document.querySelector("#google_translate_element select");
        a.dispatchEvent(new Event('change'));
<script src="//"></script>

Write A Comment

Faster PHP Cloud Hosting