| 开发者 | timonf |
|---|---|
| 更新时间 | 2026年4月30日 04:22 |
| PHP版本: | 8.1 及以上 |
| WordPress版本: | 6.9 |
| 版权: | MIT |
| 版权网址: | 版权信息 |
wp_ai_client_prompt()./wp-abilities/v1/) and MCP discovery.direct_api_url supports OpenAI-compatible endpoints for model-specific payload needs.ai-translate/get-languages: List languages exposed by the active language plugin |
ai-translate/get-translation-status: Show translation status for a content item, including source_language and single_entry_mode |
ai-translate/set-post-language: Change the language assignment of an existing content item (only exposed when supported, e.g. Polylang) |
ai-translate/get-untranslated: Find content still missing a target translation |
ai-translate/translate-text: Translate arbitrary text |
ai-translate/translate-blocks: Translate serialized Gutenberg blocks |
ai-translate/translate-content: Create or update one translated post/page/CPT entry (call get-translation-status first; optional source_language + overwrite) |
ai-translate/translate-content-bulk: Bulk-translate multiple entries (supports optional source_language and overwrite) |
ai-translate/get-progress: Return live progress for a running translation |
ai-translate/cancel-translation: Cancel a running translation |
ai-translate/get-available-models: List models from configured connectors |
ai-translate/save-additional-prompt: Save per-user additional instructions |
ai-translate/configure: Read or update persistent plugin settings |
Requirements:
chat_template_kwargs support through direct_api_urlslytranslate directory to /wp-content/plugins/.Yes, for text and block translation (translate-text, translate-blocks, inline selected-text workflow). Content translation workflows require a supported language plugin (Polylang or WP Multilang).
In WordPress Settings > Connectors, not inside SlyTranslate.
Yes. Use translate-content-bulk through abilities or the wp-admin list-table translation UI.
In the list-table dialog, Overwrite existing translation is off by default. If a translation already exists, you must enable overwrite and confirm before the translation starts.
Yes, when the active language plugin supports language mutation (currently Polylang). In that case ai-translate/set-post-language is exposed and can be called with post_id and target_language. By default language conflicts fail with language_conflict; use force to opt in, and pass relink=true when translation relations should be rewritten. In WP Multilang mode this ability is not exposed.
Use ai-translate/configure for persistent defaults and additional_prompt on translate-* abilities for per-request instructions.
Any LLM from a WordPress AI connector works without configuration. Built-in dedicated profiles exist for: TranslateGemma, TowerInstruct, Salamandra, Nvidia Nemotron, Qwen 3.x, GLM-4.6v, Gemma 4, Phi-4, EuroLLM, Llama 3.1-8B, SauerkrautLM, Ministral-3, and Ministral-8B. Additional profiles can be registered via the slytranslate_model_profiles filter.