davidpl86
Forum Replies Created
-
Forum: Plugins
In reply to: [HHG for TranslatePress] Automic Translation doesn’t workHi,
I’ve noticed that even when the HHG for TranslatePress plugin is configured with a valid OpenAI API key, endpoint, and model (for example
https://api.openai.com/v1/chat/completionswithgpt-4o-mini), the plugin doesn’t actually send requests to OpenAI.All translation requests, including the “Test API Credentials” action, are still sent to:
https://mtapi.translatepress.com/translationsinstead of the OpenAI endpoint.
Because of that, my OpenAI key is never used, and the translations come from the TranslatePress API instead.Expected behavior:
When an OpenAI key and endpoint are set, the plugin should send translation requests directly to OpenAI, respecting the model and temperature parameters.Observed behavior:
- The debug log always shows requests to
mtapi.translatepress.com. - The response returns a static example (
about → acerca de), confirming it’s not coming from OpenAI.
Temporary workaround:
I edited the file/wp-content/plugins/hhg-for-translatepress/includes/api.php
and replaced the endpoint withhttps://api.openai.com/v1/chat/completions,
which fixed the issue and allowed the plugin to communicate with OpenAI directly.Could you please confirm if this is a known issue or if there’s a new version planned that restores direct OpenAI integration?
Thanks a lot for your work on this plugin — I’d be happy to test any update or beta version.
Best,
David - The debug log always shows requests to