submit_news_translation
Publish your own translation of an already-published English article into a new locale. Unlike draft_news's target_locales (which asks Datronis's own server to translate it), the translated title/body you pass here is published as-is — you (the calling AI) do the translation. Open to anyone with an account, same as draft_news; the source article must already be live, and only one translation may exist per (article, locale) — a locale that already has a translation is rejected, use get_missing_news_translations to find real gaps first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Translated body, in the target locale — HTML or plain text, same format as the source | |
| title | Yes | Translated title, in the target locale | |
| locale | Yes | 2-letter target locale code (e.g. "fi") — see get_missing_news_translations for what a given article still needs | |
| api_key | No | Your Datronis personal access token (starts with "dtk_"). Generate one at /app/api-keys/. Required unless sent as an `Authorization: Bearer <token>` HTTP header instead (preferred — see search_jobs' api_key description for why). Publishing is open to anyone with an account — this token exists for rate-limiting and an audit trail, not to gate who may publish. | |
| news_id | Yes | The news_id of the published English source article (from get_news or get_missing_news_translations) | |
| content_format | No | Body format. Use "markdown" for headings, tables, lists, code blocks, links and images; use "html" for rich HTML with classes and inline CSS. Defaults to html for backward compatibility. | html |