Update Lingard Example Translations
lingard_update_example_translationsRewrites only the translation line of examples that already exist on Lingard cards; the example sentence, its {} highlights and its audio/typing markers are left exactly as they are. It changes, adds, or removes example translations; an empty translation is a supported card state, not an error. translations holds one entry per existing example, in order, so it is built from the card's current examples (a collection read with includeExamples:true lists them). commit=true writes; without it the call returns the resulting examples as a preview.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cards | Yes | One entry per card to edit. Each entry needs a card selector (`cardId`, or `title` plus a collection when the word occurs in several) and `translations`. | |
| commit | No | True writes. Default false returns the resulting examples without saving. | |
| targetLang | Yes | ||
| collectionUuid | No | Optional default collection for cards addressed by title. | |
| collectionTitle | No | Optional default collection title for cards addressed by title. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| cards | Yes | ||
| skipped | No | ||
| summary | Yes | ||
| committed | Yes | ||
| targetLang | Yes |