Linux 软件免费装

SlyTranslate - AI Translation Abilities

开发者 timonf
更新时间 2026年4月30日 04:22
PHP版本: 8.1 及以上
WordPress版本: 6.9
版权: MIT
版权网址: 版权信息

标签

polylang translation ai abilities-api wp-multilang

下载

1.6.1 1.6.2

详情介绍:

SlyTranslate brings practical AI translation to WordPress. It is built for teams that need translation directly in editing workflows and also want the same workflows available through REST and MCP automation. Why this plugin? Use SlyTranslate when you need one consistent translation workflow for: Internal flow (short): Abilities: 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: Supported plugins: Supported model profiles: Any LLM available through a WordPress AI connector works out of the box — no special configuration needed. The following model families additionally have dedicated built-in profiles that tune prompt style, chunking, and retry behavior for better results:

安装:

Via WordPress Plugin Directory (recommended):
  1. Ensure WordPress 6.9+ and PHP 8.1+ are running.
  2. In wp-admin, go to Plugins > Add New and search for "SlyTranslate".
  3. Install and activate SlyTranslate.
  4. Install and configure an AI connector in Settings > Connectors.
  5. Optional for content translation: install and activate Polylang or WP Multilang.
  6. Optional for local llama.cpp models: install AI Provider for llama.cpp.
  7. Optional for other OpenAI-compatible local/self-hosted endpoints: install Ultimate AI Connector for Compatible Endpoints.
  8. Optional for MCP discovery: install and activate WordPress MCP Adapter.
Manual installation:
  1. Ensure WordPress 6.9+ and PHP 8.1+ are running.
  2. Copy the slytranslate directory to /wp-content/plugins/.
  3. Activate SlyTranslate in wp-admin.
  4. Install and configure an AI connector in Settings > Connectors.
  5. Optional for content translation: install and activate Polylang or WP Multilang.
  6. Optional for local llama.cpp models: install AI Provider for llama.cpp.
  7. Optional for other OpenAI-compatible local/self-hosted endpoints: install Ultimate AI Connector for Compatible Endpoints.
  8. Optional for MCP discovery: install and activate WordPress MCP Adapter.

屏幕截图:

  • Inline translation
  • Gutenberg block translation
  • Page/post translation and bulk action
  • Translation UI overview

常见问题:

Does this work without a language plugin?

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).

Where are API keys configured?

In WordPress Settings > Connectors, not inside SlyTranslate.

Can I use bulk translation from post/page lists?

Yes. Use translate-content-bulk through abilities or the wp-admin list-table translation UI.

How does overwriting existing translations work?

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.

Can I change the language assignment of an existing post without running translation?

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.

How do I control prompts and style?

Use ai-translate/configure for persistent defaults and additional_prompt on translate-* abilities for per-request instructions.

Which model-specific profiles are supported?

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.