Hi,
this could be caused by Cloudflare optimizations.
Try disabling:
- Auto Minify (JS/CSS)
- Rocket Loader
Then clear the cache. These features can break GPTranslate scripts and cause exactly the issues you described.
Also check if any plugin are installed doing this.
Best regards
Hi John,
thanks a lot for your answer! I checked the “Rocket Loader” and it was already disabled and I found out that Auto Minify is deprecated since 2024: https://developers.cloudflare.com/fundamentals/api/reference/deprecations/#2024-08-05 and I couldn’t find any setting where one can do some fine tunings…
So I’m not sure what else to try.
Best regards
Hi,
if you can share website link details i will have a look at any error or conflict.
Best regards
John
Hi John,
is there a way how I can contact you personally via e-mail, Matrix or Signal?
That would be good.
Or you can simply send me a mail to: [email redacted by moderators]
Kind regards
Hi,
yes i will directly email you.
Kind regards
Well, what can I say?
Thank you very very much John for helping to solve the issue. That is highly appreciated and with the integration of Deepl, the translations look very well on the website!
For others who come across this, you can do can do following to solve this:
- Login to your Cloudflare-Dashboard
- Go to your Domain -> Security -> Safety Rules
- Create a new rule and give it a name
- Set “If incoming requests match…” in “Field” to “URI path”
Set “operator” to “contains”
Set “Value” to “/wp-json/gptranslate/”
- Print review should look like this: (http.request.uri.path contains “/wp-json/gptranslate/”)
- Set in “Then proceed as follows…” in “action” as “Skip”
- Enable “Document matching requirements” and select in “WAF components to be skipped” two options:
1. All managed rules and
2. All the rules of the “Super Bot Fight” mode
- Set in “Place at” “First”
Then delete all translations and regenerate those.
Cheers