Configuration
ConfigurationRe-triggering failed translations

Re-triggering failed translations

Whenever a translation fails (due to the API going offline, having an invalid API key, running out of credits, etc), you can re-trigger translating that entry and language only, and avoid spending API credits for translations that were successful.

You will notice that an entry/language has failed translating as these are highlighted with a yellow background on the Polylang edit icon in the list pages:

Yellow background on Polylang edit icon for failed translations
Yellow background on Polylang edit icon for failed translations

You can also filter to show only entries with failed translations (in the Posts and Media list pages only):

Filter to show only entries with failed translations
Filter to show only entries with failed translations

Filtering these entries allows you to easily re-run the translation for all of them at once.

Filter to show only entries with failed translations
Filter to show only entries with failed translations

Finally, re-run the failed translations by executing the Gato Translate (Custom) bulk action selecting the Process failed translations only option:

Selecting the 'Process failed translations only' option in the 'Gato Translate (Custom)' Settings page
Selecting the 'Process failed translations only' option in the 'Gato Translate (Custom)' Settings page

If using WP-CLI, you can re-trigger failed translations using the --process-failed parameter.