30 days free. No credit card. Full access from the moment you connect your site.

Start free trial

List Available Languages

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

Abilitytranslations/list-available-languages
ToolsetLoco Translate — toolset/loco-translate
GroupLoco Translate › WordPress.org
RequiresLoco Translate, active on the site
Capabilitymanage_options
SafetyRead-only — changes nothing
RepeatableIdempotent — running it twice leaves the same result
Ships inAcrossAI 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

NameTypeRequiredWhat it is
bundlestringYesBundle id, handle or slug. Use core for WordPress itself.

What comes back

NameTypeWhat it is
languagesarrayEach published language, its completeness and whether it is installed.
countintegerHow many languages are published.
bundlestringThe bundle that was queried.
has_packsbooleanFalse when WordPress.org publishes no translations for this bundle at all.
successbooleanWhether the call completed.
messagestringA one-line summary of what happened, suitable for showing a human.
error_codestringPresent 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_packs false means hand translation is the only option. That is the common case.
  • Nothing is downloaded here. translations/fetch-translations does that.
  • A partially complete pack still leaves English strings on the page. Check the percentage before promising a client a translated site.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading