Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • After trial and error: I discovered that the code<meta name=”google-translate-customization” content=”###########-#########-#########”></meta>
    should be added to the header.php file just before the </head>

    Where the ###########-#########-######### is the unique Google alpha-numeric address for your website.

    If you have installed the Google Translate Plugin you do NOT need to add the following code to your header.php file:

    <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>

    As this will just make an additional copy of your language dropdown menu

    I’ve gotten this far, though this is my first attempt at creating my own site:

    Go to https://translate.google.com/
    Click on the “Website Translator”option
    Follow the instructions which are pretty straight forward

    Copy the HTML text as instructed into the pages where you want to customize the google translation.

    But, where is the code for the pages of CWP MegaResponsive theme?

Viewing 2 replies - 1 through 2 (of 2 total)