My site was the same too. But, I work fine on a computer browser. Only not working on the mobile. If I disable the WP-Rocket Plugin it works well. I guess it is a cache issue. I still trying to figure out myself.
I have installed WP Rocket Disable Page Cache Plugin (https://docs.wp-rocket.me/article/61-disable-page-caching)
I use cache by WP Cloudflare Super Page Cache.
Plugin Author
edo888
(@edo888)
Hi,
I see that the script loaded from translate.google.com is being minified and loaded from your cache /wp-content/cache/min/1/translate_a/element-e3d6d2591f5a26ac1f0975bff5038752.js
Please add an exception and it will be fine.
I would also suggest you to contact the cache plugin developers and ask them to add this exception into their code, so that it works fine with our plugin out of the box.
Thanks! 🙂
Hi @edo888,
Thanks for replying. Thats very kind of you.
I have added /wp-content/cache/min/1/translate_a/element-e3d6d2591f5a26ac1f0975bff5038752.js on the WP Rocket > Excluded JavaScript Files. But the issue is not solved.
See screenshot: https://ibb.co/BP68XBP
Thanks! 🙂
Plugin Author
edo888
(@edo888)
Hi,
You need to add all scripts loaded from translate.google.com domain, particularly this one: https://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit2
I really recommend contacting cache support for more specific details.
Thanks! 🙂
Hello, can you tell me how to solve it?
I added //translate.google.com to the pre-cache, but it still cannot be translated.
Plugin Author
edo888
(@edo888)
@monica888 Please feel free to open a new support topic and mention your website address and I’ll check it for you: https://wordpress.org/support/plugin/gtranslate/#new-topic-0