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

Start free trial

List Banner Languages

consent/list-languages returns the languages the banner is offered in, and which one it falls back to.

This list is the shape of everything else: every cookie description and category name in the suite is stored once per language on it.

At a glance

Abilityconsent/list-languages
ToolsetCookieYes — toolset/cookieyes
GroupCookieYes › Configuration
RequiresCookieYes, 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

Adding a language does not translate anything. It adds a slot, and every existing cookie description and category name now has one more place it could be blank. A banner offered in a language with no text in it renders empty for those visitors.

So this is the call that tells you how much text ought to exist. Multiply the language count by the cookie count and you have the number of descriptions a complete banner needs.

The default language is the fallback, and it is the one that must never be blank.

Input

This ability takes no input.

What comes back

NameTypeWhat it is
selectedarrayThe language codes the banner is offered in.
defaultstringThe fallback language code.
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 languages is our cookie banner offered in?

It resolves to one call:

{
  "ability": "consent/list-languages",
  "parameters": {}
}

Worth knowing

  • A language on this list with no text behind it renders blank to visitors.
  • The default is the fallback. Keep it complete.
  • Changing the list is a separate, destructive operation.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading