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

Start free trial

Get Translation Bundle

translations/get-bundle opens one bundle up: every text domain it defines, whether each has a POT template, and which locales already have a translation.

It accepts the bundle id, handle or slug, because all three appear in Loco’s own screens and people copy whichever they are looking at.

At a glance

Abilitytranslations/get-bundle
ToolsetLoco Translate — toolset/loco-translate
GroupLoco Translate › Discovery
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

Make this the call before any write. Addressing a text domain that does not exist is the commonest failure in this suite, and it is entirely avoidable.

Whether a domain has a POT template matters more than it sounds. Without one, translations/create-translation-file has nothing to seed from and translations/sync-translations falls back to scanning source code.

The locale list tells you whether you are starting a translation or continuing one — a distinction that decides between creating a file and updating strings.

Input

NameTypeRequiredWhat it is
bundlestringYesBundle id, handle or slug — all three appear in Loco’s own screens. Use core for WordPress itself.

What comes back

NameTypeWhat it is
bundleobjectThe bundle: name, type, text domains, POT presence per domain, and existing locales.
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:

What text domains does WooCommerce define, and which languages do we already have?

It resolves to one call:

{
  "ability": "translations/get-bundle",
  "parameters": {
    "bundle": "woocommerce"
  }
}

Worth knowing

  • Id, handle and slug all work. Use whichever Loco showed you.
  • No POT template means no seed — translations/extract-strings builds one.
  • A bundle with several text domains needs domain passed explicitly on every later call.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading