π₯ Execute Gato Translate (Custom) bulk actions, integrate with ACF, Meta Box, and SEO plugins, WP-CLI, and more

Gato AI Translations for Polylang just dropped v14.0
, packed with all the new features our users asked for!
Gato Translate (Custom)
You can now execute the Gato Translate action with custom settings, by using the new Gato Translate (Custom) bulk action.

This bulk action will redirect to a Custom Settings page, with options that you can override for that execution only (these settings will not be stored to the plugin settings).
Using custom settings is useful on many scenarios, such as:
β Re-trigger Failed Translations
Re-trigger the translation for a language that failed without affecting other languages.
β Use Different AI Models
Use a different AI model than the one configured in the plugin settings for specific translations.
β Change Origin Language
Use a different language as the origin language (eg: translate content copied from a website in another language).
β Experiment with Prompts
Experiment with a different prompt for the translation without changing the global settings.
Re-trigger failed translations
The most common use case for this feature is to re-trigger the translation for a language that failed without affecting other languages.
To do that, you can select the None (disable translation) option for each already-translated language, and click on the Execute 'Gato Translate' button:

(Big thanks to plugin's user HervΓ©, who contributed the code for the links to quickly set the value on the dropdowns π)
We have also added an option to have the None (Disable Translation) option applied by default to all languages in the Custom Settings.

Automatic integration with Advanced Custom Fields and Meta Box
Previously, you had to manually configure the meta keys to synchronize and translate for each field group in Advanced Custom Fields (ACF) and Meta Box.
That was a bit cumbersome, and not very intuitive.
So we've fixed it! We have added a Gato Translate input to configure sync/translation directly using the UI of these plugins.
Editing a Field Group in ACF:

Check out the video below for a quick demo:
Editing a Custom Field in Meta Box:

Quick demo in the video below:
Automatic integration with SEO plugins
In the past, you had to manually configure the meta keys to synchronize and translate for each SEO plugin.
Not anymore. The following SEO plugins are now integrated out of the box:
All in One SEO
Rank Math
SEO Simple Pack
SEOPress
Slim SEO
The SEO Framework
WP Meta SEO
Yoast SEO
And you can enable/disable the integration for each plugin in the Plugin Integration Configuration tab in Settings.

Demo using The SEO Framework in the video below:
Access new AI models immediately
Breaking change: You must provide the OpenRouter API key again.
You can now access the AI models from OpenRouter directly from the OpenRouter API. The list of models is updated daily.
That means that you do not need to wait for Gato AI Translations for Polylang to be updated to use the latest version of your favorite model, or to try out a fancy new model.
Do it immediately, the same day the model is released!

(Thanks again to HervΓ©, he also contributed the code for this new feature ππ)
The UI now also displays information for the selected model, including price, context window, max tokens, and more.

And you can also filter the models by price, release date, and more.

Trigger translations via WP-CLI
You can trigger translations directly from the command line via WP-CLI, with a simple wp gatotranslate command.

Other improvements
Version 14.0
includes several other improvements and bug fixes, including:
- Support OpenAI 5 models
- Improved the prompt sent to the AI models
- Sync the post's parent, translating the ID to that of the target language
- Sync the
menu_order
property of the post - Translate arrays of arrays in meta (i.e. support Meta Box group type)
- Added hooks to override the prompt sent to the AI models, variables and meta keys to sync/translate.
- Identify CPTs registered via plugins (ACF, Meta Box, Custom Post Type UI), and set the "Automatically create translation entries" option to them by default
- Support glossaries in DeepL
- Trigger translations via PHP code
See the changelog for the full list of changes.
As always, enjoy! π