Before translating or linking anything, your AI needs to know what already exists.
content/list-post-translations returns every translation of a post as language code → post ID.
At a glance
| Ability | content/list-post-translations |
| Toolset | Content — toolset/content |
| Group | Translations › Posts |
| Requires | Polylang or WPML, active on the site |
| Capability | manage_options |
| Safety | Read-only — changes nothing |
| Repeatable | Idempotent — running it twice leaves the same result |
| Ships in | AcrossAI Abilities Manager 0.1.0 and later |
How it works
Pass the post_id.
It detects Polylang first, then WPML, and returns an error if neither is active.
It changes nothing.
Input
| Name | Type | Required | What it is |
|---|---|---|---|
post_id | integer | Yes | The post or page ID. |
What comes back
| Name | Type | What it is |
|---|---|---|
driver | string | Which plugin answered. |
translations | object | Language code → post ID for every translation. |
success | boolean | Whether the call completed. |
message | string | A one-line summary of what happened, suitable for showing a human. |
error_code | string | Present only on failure — a stable machine-readable reason, such as a missing field, a wrong field type or an unmet confirmation. |
Example
Ask your assistant:
Which translations does the About page have?
It resolves to one call:
{
"ability": "content/list-post-translations",
"parameters": {
"post_id": 12
}
}Worth knowing
- Read-only.
- A language missing from the map has no linked translation yet.
Related abilities
- Link Post Translations — add the missing ones
- Set Post Language — fix a post with no language
Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager
Browse the rest: Every ability, by category