Publish translation draft
translationDraft_publishSnapshot a language's draft into the public bundle so respondents see the latest text. Idempotent. Empty drafts unpublish the language (removed from publishedLanguages — respondents stop seeing it in the picker).
Returns { publishedKeyCount, alreadyCurrent } — alreadyCurrent: true means the published bundle already matched the draft (no-op republish), so callers can skip "publish OK" UX and tell the user nothing changed.
Call after translationDraft_update once the author has reviewed. No separate "unpublish" tool — clear the draft and republish.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| formId | Yes | ||
| language | Yes |