doGTranslate div.switcher exclude from WP-Rocket
-
In regards to getting the GTranslate switcher to work with WP-Rocket.
The doGTranslate ‘div.switcher’ appears to be blocked by WP-Rocket. Here is a screenshot of the inspector:
https://ibb.co/KDbgHdgI looked at the support forum as your chat representative suggested. There were already seven posts about this topic, in one post the developer, @edo888, provided a specific script to be excluded in WP-Rocket:
https://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit2That did not work for me.
I also tried a number of other scripts which did not work:
https://translate.google.com/translate_a/element.js
https://translate.googleapis.com/element/TE_20210503_00/e/js/element/element_main.js
https://translate.googleapis.com/translate_static/js/element/main.jsIn addition I deleted the cache folders and files from the FTP to be sure there was not leftover caching.
I have also emailed WP-Rocket about this including the same info I’ve included here. My intent is that both WP-Rocket and GTranslate can work with me cooperatively to find a solution.
Viewing the website using the ?nocache parameter does allow the doGTranslate switcher to successfully translate the content, so this is clearly being blocked by WP-Rocket. I just need to know exactly which files to specify in WP-Rocket’s exclusion list.
The page I need help with: [log in to see the link]
- The topic ‘doGTranslate div.switcher exclude from WP-Rocket’ is closed to new replies.