• 1.2.0 1ccc13da01

    v1.2.0 Stable

    javier released this 2026-05-28 07:23:21 +00:00 | 0 commits to main since this release

    1.2.0

    Release date: 2026-05-28

    Highlights

    • Parallel chunked content translation: long posts are split at block or paragraph boundaries and all chunks are translated concurrently, eliminating timeout errors.
    • Configurable request timeout: control how long the server waits for an AI response (30–300 s).

    Added

    • Configurable "Request timeout" setting (default 60 s, minimum 30 s, maximum 300 s) in both site and network admin. Controls how long the server waits for a single AI response before timing out. The PHP max_execution_time value is shown as a hint.
    • Parallel chunked content translation — long post content is automatically split at Gutenberg block boundaries (Block editor) or paragraph/heading boundaries (Classic editor) and all chunks are sent to the AI concurrently via Promise.all().
    • Progress indicator — the Translate button label updates in real time: "Translating… (2/5)" after each chunk resolves.
    • New REST endpoint POST /wp-json/ai-translator/v1/translate-text — translates a raw text string (HTML or plain text) supplied directly in the request body. Used internally by the chunked content path. Requires the same edit_post capability as the existing /translate endpoint.

    Changed

    • Content translation now reads directly from the current editor state (unsaved changes are included) instead of from the last saved post revision. Title and excerpt continue to be read from the database.

    Compatibility

    • WordPress: 7.0 - 7.1
    • PHP: 7.4 - 8.5
    • WP-CLI: 2.12 or newer

    Tests

    • PHP Coding Standards: WordPress-Core, WordPress-Docs, WordPress-Extra
    • PHPCompatibility: 8.2 - 8.5
    • PHPStan: level 9
    • PHPUnit: 51/51 tests passing (single-site)
    Downloads
  • 1.1.0 02cd01e862

    v1.1.0 Stable

    javier released this 2026-05-25 17:12:36 +00:00 | 1 commits to main since this release

    1.1.0

    Release date: 2026-05-25

    Highlights

    • MultilingualPress integration: new connected posts are automatically translated at creation time.
    • Excerpt translation: post_excerpt is now a translatable field.
    • Removed dependency on the third-party AI plugin — uses the native WordPress 7.0 AI client.

    Added

    • Excerpt field translation (title, content, and excerpt are now independently toggleable).
    • MultilingualPress integration: opt-in "Auto-translate new connected posts" toggle in the settings pages. When enabled and MLP creates a new connected post, the plugin translates the enabled fields synchronously into the target site's language.

    Changed

    • Requires Plugins: ai removed from plugin headers. wp_ai_client_prompt() is native to WordPress 7.0 — the plugin works with any provider configured in Settings → AI.
    • "AI not active" admin notice replaced by a "no provider configured" notice, which fires when no provider supports text generation.

    Compatibility

    • WordPress: 7.0 - 7.1
    • PHP: 7.4 - 8.5
    • WP-CLI: 2.12 or newer
    • MultilingualPress: 5.x (optional)

    Tests

    • PHP Coding Standards: WordPress-Core, WordPress-Docs, WordPress-Extra
    • PHPCompatibility: 7.4 - 8.5
    • PHPStan: level 9
    • PHPUnit: 50/50 tests passing (single-site)
    Downloads
  • 1.0.0 a157afe625

    v1.0.0 Stable

    javier released this 2026-05-23 10:15:06 +00:00 | 2 commits to main since this release

    1.0.0

    Release date: 2026-05-23

    Highlights

    • Initial release of AI Translator (by ROBOTSTXT).
    • Translates post title and content from the editor using the official WordPress AI plugin as backend.
    • Multisite-ready with global or per-site configuration.

    Added

    • Block editor sidebar panel and Classic editor metabox with target-language selector and a Translate button.
    • REST endpoint POST /wp-json/ai-translator/v1/translate for editor and external integrations.
    • WP-CLI command wp ai-translator translate for single-post and bulk translation.
    • Network admin settings page with global / per-site mode toggle.
    • Site admin settings page with title and content translation toggles.
    • Model recommendations table in the settings pages as guidance.

    Compatibility

    • WordPress: 7.0
    • PHP: 7.4 - 8.5
    • WP-CLI: 2.10 or newer

    Tests

    • PHP Coding Standards: WordPress-Core, WordPress-Docs, WordPress-Extra
    • PHPCompatibility: 7.4 - 8.5
    • PHPStan: level 9
    Downloads