Translate a demo with AI
translate_demoAdds a language to a demo (if it isn’t there yet) and translates its copy with AI: the missing and outdated strings, or all of them. Viewers get the language picker and ?lang= after the next publish_demo. Pro and Team plans; uses AI credits (1 per 50 strings).
Requires: demos:read, demos:write.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| demoId | Yes | Demo id (from list_demos), e.g. "d_Ab12Cd34Ef56Gh78". | |
| locale | Yes | Language: en (English), es (Spanish), fr (French), de (German), it (Italian), pt-BR (Portuguese (Brazil)), nl (Dutch), pl (Polish), sv (Swedish), tr (Turkish), ja (Japanese), ko (Korean), zh-CN (Chinese (Simplified)), zh-TW (Chinese (Traditional)), id (Indonesian). | |
| retranslate | No | missing: new and outdated strings; all: everything again. | missing |