Hi @mathiasmadsen ,
We’ve reviewed the issue you encountered while translating a post using the plugin, and the error message from Google Translate API —
“Requests from referrer <empty> are blocked” — indicates that the API key in use is restricted to requests from specific websites (HTTP referrers), but the translation request is coming from the server and has no referrer (which is expected for server-side requests).
How to Fix It→This needs to be corrected in your Google Cloud Console:
- Log into your Google Cloud Console:
https://console.cloud.google.com/
- Go to:
APIs & Services → Credentials
- Find the API key used for the plugin and click to edit it.
- Under “Application restrictions”, change:
- From:
HTTP referrers (websites) ❌
- To:
None ✅ (or “IP addresses” if you want to restrict it to your server)
- Under “API restrictions”, make sure only the Cloud Translation API is enabled for this key.
- Save changes.
Once this is updated, the plugin should be able to successfully send translation requests again.
Please feel free to reach out if you need further assistance, and don’t forget to leave us a rating and feedback.
Best regards,
UAPP Support Team
Hi @mathiasmadsen
Please let me know if it helped or any further assistance is needed.
Thank you