WordPress AI Abilities
From WordPress 7.0, plugins can register AI Abilities through the Abilities API. Gato AI Translations for Polylang registers an ability for each translatable entity type:
- Custom posts (posts, pages, and any CPT translated by Polylang)
- Taxonomy terms (tags, categories, custom taxonomies)
- Media items
- Menus
- Users
Once your site exposes these abilities, AI agents like Claude Code can trigger translations directly from a natural-language prompt — no GraphQL query, no WP-CLI command needed.
Example prompts
You can ask the agent to translate by name:
Translate post with title
"How to onboard new editors"
…or to a specific language only:
Translate post with title
"How to onboard new editors"to French only
…or to skip translating content and only remap entity references:
Translate post with title
"How to onboard new editors"but skip translating content, only replace entity reference IDs
The same shapes work for taxonomy terms, media, menus and users — replace "post" with the entity type.
Whenever the prompt does not indicate a specific configuration (language, content parts, etc.), the plugin uses the default configuration from the plugin Settings.