• Resolved Suresh Ramasamy

    (@sureshramasamy)


    Hi, When wp rocket is enabled the plugin Gtranslate will not work in the front end, it will work in the back end. I would like to know what is JS to exclude so that it works on the front end.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author edo888

    (@edo888)

    Thread Starter Suresh Ramasamy

    (@sureshramasamy)

    Yes this fixed the issue

    translate.google.com/translate_a/element.js

    used this to load it and works

    Thread Starter Suresh Ramasamy

    (@sureshramasamy)

    im geting this error on an another site

    Uncaught ReferenceError: doGTranslate is not defined
    at HTMLAnchorElement.onclick ((index):1278)
    onclick @ (index):1278

    <a href="#" onclick="doGTranslate('en|af');jQuery('div.switcher div.selected a').html(jQuery(this).html());return false;" title="Afrikaans" class="nturl"><img data-gt-lazy-src="//www.glinter.my/wp-content/plugins/gtranslate/flags/24/af.png" height="24" width="24" alt="af" /> Afrikaans</a><a href="#" onclick="doGTranslate('en|en');jQuery('div.switcher div.selected a').html(jQuery(this).html());return false;" title="English" class="nturl selected"><img data-gt-lazy-src="//www.glinter.my/wp-content/plugins/gtranslate/flags/24/en-us.png" height="24" width="24" alt="en" /> English</a></div>

    Plugin Author edo888

    (@edo888)

    Please feel free to open a new support topic and mention the website address, so I can check the issue for you.

    Thanks! ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Wprocket Issue’ is closed to new replies.