Repository navigation
Releases
v0.3.6 — Claude Translator for TranslatePress
A text Claude will not translate no longer stops the bulk job.
For one batch on the production site, Claude returned an empty translation list twice, so 0.3.5 rejected the batch with "Response omitted 16 translation(s) again after a retry". Now:
- Items missing from a response are sent again one text per request, so a single problem text cannot block the rest of the batch.
- A text that still gets no translation when sent alone stays untranslated, and the job continues.
- The job status shows "Left untranslated" with the dictionary or gettext row IDs (up to 100), so those texts can be translated manually in TranslatePress.
- Network, rate-limit and validation errors still pause the job without saving the batch.
Includes all 0.3.2–0.3.5 fixes. Install claude-translator-for-translatepress-0.3.6.zip over the existing plugin and resume the paused job. Saved translations, settings and the result cache are kept.
Merged to main (PR #2). Confirmed running on the production site. Unit (284) and admin UI (35) assertions pass. Not tested against real WordPress/TRP or the live API.
v0.3.5 — Claude Translator for TranslatePress
Fix for bulk jobs that stop with "Response has missing or extra translations".
Claude sometimes leaves one item out of a 16-string batch. Previously the plugin threw away the whole response and paused the job. Now:
- Every item Claude returned is still checked (placeholders, HTML, empty text) and kept.
- Only the missing items are sent again, in one smaller follow-up request.
- If an item is missing again, the batch is rejected without saving anything and the error names the exact dictionary row.
- Responses with extra, duplicate or unknown items are still rejected outright.
Includes the 0.3.2–0.3.4 fixes, including the WP-cron engine fix. Install claude-translator-for-translatepress-0.3.5.zip over the existing plugin and resume the paused job. Saved translations, settings and the result cache are kept.
Preview release built from branch fix/skip-reviewed-equivalents (PR #1, not yet merged). Unit (265) and admin UI (35) assertions pass. Not tested against real WordPress/TRP or the live API.
v0.3.4 — Claude Translator for TranslatePress
Fix for bulk jobs that pause after every batch or two with "TranslatePress did not call the engine for these strings".
TranslatePress can skip loading its hooks on /wp-cron.php, for example when Do not translate certain paths is configured. In that case only its placeholder engine is loaded, and that engine always reports itself unavailable. Batches run from the admin page were translated. Batches run by WP-cron were left unsaved, and the job paused.
Bulk mode now loads the Claude engine itself before each batch, the same way TranslatePress handles WooCommerce cron emails. If the engine still cannot be loaded, the job stops with an explicit error.
Includes the 0.3.2 and 0.3.3 changes. Install claude-translator-for-translatepress-0.3.4.zip over the existing plugin, then resume the paused job. Saved translations, settings and the result cache are kept.
Preview release built from branch fix/skip-reviewed-equivalents (PR #1, not yet merged). Unit (230) and admin UI (35) assertions pass. The WordPress/TRP integration test has not been run yet.
v0.3.3 — Claude Translator for TranslatePress
Diagnostic release for bulk batches that TranslatePress does not save.
The "Some translations were not persisted" error now includes the unsaved row IDs and the cause seen during that request:
- TranslatePress did not call the engine for the batch.
- Strings were held by another request's TranslatePress translation lock. Wait about a minute, then resume.
- The engine returned no translations (the message also shows the TRP daily character count).
- A
trp_allow_string_savingfilter refused the save. - Writing to the dictionary failed with a database error. The error text is included.
- TranslatePress got translations back but did not try to save them.
Includes the 0.3.2 fix for human-reviewed variants. Install claude-translator-for-translatepress-0.3.3.zip over the existing plugin and resume the paused job. Saved translations, settings and the result cache are kept.
Preview release built from branch fix/skip-reviewed-equivalents (PR #1, not yet merged). Unit (230) and admin UI (35) assertions pass. The WordPress/TRP integration test has not been run yet.
v0.3.2 — Claude Translator for TranslatePress
Fix for bulk jobs that kept stopping with "Some translations were not persisted. Check the TRP daily quota…".
- Strings with a human-reviewed equivalent are left for review. An equivalent here means a reviewed string that differs only in case, accents or trailing spaces (e.g.
Wellnessvswellness). Before this fix, one such string made TranslatePress reject the whole 16-string batch on every resume. These strings are now not sent to Claude, the rest of the batch is saved, and the job status shows how many were left for review. - When saving still fails, the error now lists the exact dictionary (or gettext) row IDs that were not saved.
Install claude-translator-for-translatepress-0.3.2.zip through WordPress Plugins → Add New → Upload Plugin (replace the existing version), then resume the paused job. Saved translations, settings and the result cache are kept.
Preview release, built from branch fix/skip-reviewed-equivalents (PR #1, not yet merged to main). Unit (230) and admin UI (35) assertions pass, and CI passes on PHP 8.1–8.5. The new WordPress/TRP integration test tests/reviewed-integration.php has not been run yet.
v0.3.1 — Claude Translator for TranslatePress
Native Anthropic Claude provider for TranslatePress, with bulk translation that runs without waiting for visitors.
- Direct Claude API integration, Sonnet 5.5 structured output and optional Workspace ID.
- TranslatePress dictionary reuse, protected markup/placeholders, a daily source-byte cap and resumable bulk jobs.
- Restricted diagnostics and inspection of blocked source rows.
- Explicit selected-language translation reset and full dictionary refresh, including current SEO Pack slugs. Reset removes manual translations too; review the preview before confirming.
Install claude-translator-for-translatepress-0.3.1.zip through WordPress Plugins → Add New → Upload Plugin. The separate source archive includes tests and CI. TranslatePress and any required paid add-ons must be installed separately; they are not bundled.
Preview release. Locally verified with PHP 8.4.26, WordPress 7.1.3, TranslatePress 3.3.8 and Developer 1.8.8. Includes 230 standalone protocol/security assertions, 35 admin UI assertions and real WordPress/TRP integration suites. Automated Anthropic responses are mocked; full builder and cache-stack certification is not claimed. See TESTING.md for coverage.