Description
HHG for TranslatePress is an enhancement plugin for TranslatePress multi-language plugin to extend the automatic translation capability, integrating mainstream AI translation engines such as Google Gemini, Tencent Hunyuan, OpenAI GPT, Wisdom Spectrum AI GLM, etc., and supporting multi-model selection, API customization, batch translation, error handling and Advanced language mapping. The interface style is consistent with TranslatePress natively and has strong compatibility, which is suitable for sites that need high-quality automatic translation.
Main Features:
– Support Google Gemini, Tencent Hunyuan, OpenAI GPT, Smart Spectrum AI GLM AI translation engines.
– Supports multiple model selection and customized models
– Supports custom API Endpoint
– Fully compatible with TranslatePress native settings and front-end translation.
– Beautiful interface and convenient operation
– Supports batch translation, error alerts, and API testing.
– Code security, in line with WordPress best practices
External Services
This plugin connects to external AI translation services to provide automatic translation functionality. The following third-party services are used:
Google Gemini AI
– Service: Google AI Studio API (https://aistudio.google.com/)
– Purpose: Provides AI-powered text translation using Google’s Gemini models
– Data sent: Text content to be translated, source and target language codes
– When: Only when Gemini is selected as translation engine and translation is requested
– Privacy Policy: https://policies.google.com/privacy
– Terms of Service: https://policies.google.com/terms
OpenAI GPT
– Service: OpenAI API (https://api.openai.com/)
– Purpose: Provides AI-powered text translation using OpenAI’s GPT models
– Data sent: Text content to be translated, source and target language codes
– When: Only when OpenAI is selected as translation engine and translation is requested
– Privacy Policy: https://openai.com/privacy/
– Terms of Service: https://openai.com/terms/
Tencent Hunyuan
– Service: Tencent Cloud Hunyuan API (https://hunyuan.tencentcloudapi.com/)
– Purpose: Provides AI-powered text translation using Tencent’s Hunyuan models
– Data sent: Text content to be translated, source and target language codes
– When: Only when Hunyuan is selected as translation engine and translation is requested
– Privacy Policy: https://intl.cloud.tencent.com/document/product/301/17345
– Terms of Service: https://intl.cloud.tencent.com/document/product/301/9248
ZhiPu AI GLM
– Service: ZhiPu AI API (https://bigmodel.cn/)
– Purpose: Provides AI-powered text translation using ZhiPu’s GLM models
– Data sent: Text content to be translated, source and target language codes
– When: Only when ZhiPu is selected as translation engine and translation is requested
– Privacy Policy: https://www.zhipuai.cn/privacy
– Terms of Service: https://www.zhipuai.cn/terms
Important Notes:
– No data is sent to external services unless you explicitly configure and use one of these translation engines
– All API communications are made over secure HTTPS connections
– No personal user data is collected or transmitted – only the text content you choose to translate
– You are responsible for complying with the terms of service and privacy policies of the services you choose to use
License
GPLv2 or later
Screenshots
Installation
- Make sure the TranslatePress plugin is installed and activated.
- Upload the plugin to the
/wp-content/plugins/hhg-for-translatepress/directory or upload the zip directly in the backend. - Enable HHG for TranslatePress on the Plugins page in the WordPress backend.
- Go to “Settings > TranslatePress > Automatic Translation” page, select and configure the desired AI translation engine and model, and save the settings.
FAQ
-
Select no new model?
-
You must have the TranslatePress – Multilingual plugin enabled, and some of them require the TranslatePress – Business extension to work.
-
Do I need the TranslatePress master plugin?
-
Yes, TranslatePress must be installed and activated first.
-
What AI translation engines are supported?
-
currently supports Google Gemini, Tencent Hunyuan, OpenAI GPT, and Smart Spectrum AI GLM, and will continue to expand.
-
How to get an API Key?
-
Please go to the respective platforms (Google AI Studio, Tencent Hunyuan, OpenAI, Wisdom Spectrum AI Open Platform) to apply for an API Key and fill it in the setup page.
-
Do you support custom models and API addresses?
-
Yes, OpenAI and Gemini can customize models, and OpenAI supports custom API Endpoint.
-
Is the plugin secure?
-
All inputs and outputs are securely handled by WordPress and comply with the official security specification.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“HHG for TranslatePress” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “HHG for TranslatePress” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.3
- Fix some functions.
- Remove business force loading.
1.0.2
- Add Wisdom Spectrum AI GLM support, support GLM-4-FlashX, GLM-4-Flash-250414 and other models.
- Fix the problem of getting the API key of Wisdom Spectrum, make sure the settings are saved correctly.
- Fix the “Undefined array key” warning in front-end translation, and optimize the array key matching.
- Optimize API call parameters according to official documents, and add concurrency support.
- Optimize the interface style, and unify the interface of all engine settings.
- Improve error handling and API test function.
- Code security reinforcement, in line with WordPress security specification.
1.0.1
- New OpenAI support, support for custom models and API Endpoint
- Optimize the interface and compatibility of Gemini and Hunyuan.
- Fix the problems of setting saving, API testing, batch translation, etc.
- Code security enhancement, remove unused files.
1.0.0
- First version, support Gemini, Tencent Hunyuan automatic translation.
- Recommended upgrade, improve compatibility and security, add OpenAI support.




