← All widgetsTier 2Lookups

Translator

Auto-translate text.

Translates text between languages.

type · translator
Renders in the shell but fetches live data from the agent.

How to use it

Just ask for it in chat — the agent emits this widget and the shell renders it:

Try saying
translate 'good morning' to Japanese

Example

The agent returns this A2UI component (inside the components array of a /chat response):

translator.json
{
  "type": "translator",
  "from": "en",
  "to": "ja"
}

Properties

PropTypeDescription
fromstringSource language code
tostringTarget language code

Backing endpoint

This widget reads/writes through /api/widget/translate. See the API reference.


Browse the full Widget Index, the Widget Catalog, or learn the A2UI system behind it.