[WordPress] 外掛分享: HHG for TranslatePress

首頁外掛目錄 › HHG for TranslatePress
WordPress 外掛 HHG for TranslatePress 的封面圖片
800+
安裝啟用
★★★★★
5/5 分(2 則評價)
49 天前
最後更新
問題解決
WordPress 5.6+ PHP 7.4+ v1.0.5 上架:2025-08-15

內容簡介

總結文案:
HHG for TranslatePress 是一個增強外掛,用於擴展 TranslatePress 多語言外掛的自動翻譯功能。它整合了主流的 AI 翻譯引擎,如 Google Gemini、Tencent Hunyuan、OpenAI GPT、Wisdom Spectrum AI GLM 等,支持多模型選擇、API 定製、批量翻譯、錯誤處理和高級語言映射。接口風格與 TranslatePress 保持一致,兼容性強,非常適合需要高質量自動翻譯的網站。

問題與答案:
1. HHG for TranslatePress 是用於擴展哪個 WordPress 多語言外掛的自動翻譯功能?
- 答:TranslatePress 多語言外掛。

2. HHG for TranslatePress 整合了哪些主流 AI 翻譯引擎?
- 答:Google Gemini、Tencent Hunyuan、OpenAI GPT、Wisdom Spectrum AI GLM 等。

3. 這個外掛支援哪些功能?
- 答:多模型選擇和定製、自定義 API 端點、兼容 TranslatePress 原生設置和前端翻譯、支持批量翻譯、錯誤警報和 API 測試。

4. HHG for TranslatePress 連接到哪些外部 AI 翻譯服務?
- 答:Google Gemini AI、OpenAI GPT、Tencent Hunyuan、ZhiPu AI GLM。

5. 使用這些外部服務時會發送哪些數據?
- 答:要翻譯的文本內容、源語言和目標語言代碼。

6. 所有 API 通信都是如何進行的?
- 答:透過安全的 HTTPS 連接進行。

7. 這個外掛會收集使用者的哪些數據?
- 答:不會收集或傳輸個人用戶數據,只會翻譯您選擇的文本內容。

8. 使用這些服務時應該遵守什麼?
- 答:您應該遵守所選擇使用的服務的服務條款和隱私政策。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.5) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「HHG for TranslatePress」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

HHG for TranslatePress extends TranslatePress with best-in-class AI translation engines. Pick from four engine families instead of a single provider.
Supported Translation Engines:
Google Gemini AI
Powered by Google’s latest Gemini models. Choose from Flash-Lite (fastest & cheapest), Flash (balanced), Pro (highest quality), or 3 Flash Preview (cutting edge). API key from Google AI Studio.
OpenAI Compatible Platform
A universal engine supporting seven OpenAI-compatible API providers through a single, unified interface:

OpenAI — GPT-4o Mini, GPT-4o, GPT-4.1, o4-mini, GPT-4 Turbo
Azure OpenAI — Bring your own deployment endpoint
Groq — Ultra-fast inference with generous free tier (Llama 4, Mixtral, Gemma)
Together AI — Open-source model hosting (Llama 4, DeepSeek V3, Qwen3)
OpenRouter — Multi-provider routing (access OpenAI, Anthropic, Google models)
Ollama — Run locally, zero API cost (Llama 3.2, Qwen3, Mistral, Gemma 3)
Custom — Any OpenAI-compatible endpoint you provide

Each platform preset includes curated model suggestions, platform-specific descriptions, and automatic API configuration. The model input supports both free-form text entry and one-click suggestion chips — type any model name or click to select.
DeepSeek AI
DeepSeek V4 Flash for fast, affordable translations and V4 Pro for professional-grade quality. Optimized with thinking disabled for faster throughput and lower cost.
ZhiPu AI GLM
Six translation strategies: General, Paraphrase, Two Step, Three Step, Reflection, and Chain of Thought. Choose speed or depth depending on your content.
Key Features:

Industry / Domain Description — Describe your site’s context once (industry, tone, terminology rules) and it’s injected into every translation request for consistent, accurate output across all engines
Three-layer context system — Sliding-window surrounding strings, page-level key term extraction, and industry prompt for terminology consistency
Parallel async translation — All chunks dispatched simultaneously via cURL multi-handle for maximum speed
Two-round retry logic — Failed strings automatically retried in a second pass with lower temperature for maximum completeness
Intelligent caching — 30-minute transient cache per chunk for instant repeat translations
Adaptive chunk sizing — Chunk size auto-adjusted based on average string length per page
Platform-aware configuration — Timeout, temperature, and chunk size tuned per model family via heuristic detection
Native TranslatePress integration — Settings panel styled to blend seamlessly with TranslatePress’s own UI, with smooth CSS transitions
Code security — All inputs sanitized, outputs escaped, nonces verified, SSL enforced, following 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: AI-powered text translation using Google Gemini models
– Data sent: Text content to be translated, source and target language codes
– When: Only when Gemini is selected as the translation engine and translation is requested
– Privacy Policy: https://policies.google.com/privacy
– Terms of Service: https://policies.google.com/terms
OpenAI Compatible Platform
– Services: OpenAI (https://api.openai.com/), Azure OpenAI, Groq (https://api.groq.com/), Together AI (https://api.together.xyz/), OpenRouter (https://openrouter.ai/), Ollama (local)
– Purpose: AI-powered text translation using various OpenAI-compatible models
– Data sent: Text content to be translated, source and target language codes
– When: Only when OpenAI Compatible is selected as the translation engine and translation is requested
– OpenAI Privacy Policy: https://openai.com/privacy/
– OpenAI Terms of Service: https://openai.com/terms/
– Groq Privacy Policy: https://groq.com/privacy/
– Together AI Privacy Policy: https://www.together.ai/privacy
– OpenRouter Privacy Policy: https://openrouter.ai/privacy
DeepSeek AI
– Service: DeepSeek API (https://api.deepseek.com/)
– Purpose: AI-powered text translation using DeepSeek models
– Data sent: Text content to be translated, source and target language codes
– When: Only when DeepSeek is selected as the translation engine and translation is requested
– Privacy Policy: https://platform.deepseek.com/privacy
– Terms of Service: https://platform.deepseek.com/terms
ZhiPu AI GLM
– Service: ZhiPu AI API (https://bigmodel.cn/)
– Purpose: AI-powered text translation using ZhiPu GLM models
– Data sent: Text content to be translated, source and target language codes
– When: Only when ZhiPu is selected as the 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
This plugin is licensed under the GPLv2 or later. You are free to use, modify, and redistribute it under the terms of the GNU General Public License.

延伸相關外掛

文章
Filter
Mastodon