Before translating anything by hand, it is worth knowing whether somebody already did it.
translations/list-available-languages reports what WordPress.org publishes for a bundle, how complete each language is, and whether this site already has it. Nothing is downloaded.
At a glance
| Ability | translations/list-available-languages |
| Toolset | Loco Translate — toolset/loco-translate |
| Group | Loco Translate › WordPress.org |
| Requires | Loco Translate, 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.0.34 and later |
How it works
has_packs is the field that decides the next step, and it is false far more often than people expect. Most plugins — particularly commercial ones and anything not hosted on WordPress.org — publish no official translations at all, and hand translation is then the only route.
Completeness percentages are worth reading rather than skimming. A language at 60% will show a mix of translated and English strings, which some clients find worse than English throughout.
Use core as the bundle to ask about WordPress itself, which unlike most plugins is translated very thoroughly.
Input
| Name | Type | Required | What it is |
|---|---|---|---|
bundle | string | Yes | Bundle id, handle or slug. Use core for WordPress itself. |
What comes back
| Name | Type | What it is |
|---|---|---|
languages | array | Each published language, its completeness and whether it is installed. |
count | integer | How many languages are published. |
bundle | string | The bundle that was queried. |
has_packs | boolean | False when WordPress.org publishes no translations for this bundle at all. |
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:
Is there an official German translation for this plugin, or do we write one?
It resolves to one call:
{
"ability": "translations/list-available-languages",
"parameters": {
"bundle": "woocommerce"
}
}Worth knowing
has_packsfalse means hand translation is the only option. That is the common case.- Nothing is downloaded here.
translations/fetch-translationsdoes that. - A partially complete pack still leaves English strings on the page. Check the percentage before promising a client a translated site.
Related abilities
- Fetch Translations — install what is available
- Create Translation File — start one by hand instead
- List Locales — what this site already has
Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager
Browse the rest: Every ability, by category