# save_translations

Save translations of a guide's texts in one language.

`PATCH /v1/guides/{productId}/languages/{lang}/translations` · MCP tool `save_translations` · scope `write` · beta · since 2026-11-26.2

Up to 500 entries of { text, translation } for one language the guide is offered in. text is a text of the guide exactly as list_untranslated_texts returned it, character for character: a translation is kept under the words it translates, so one sent under changed words is stored and shows nowhere. Only the texts sent change: saving a text again replaces its translation, and an empty translation removes it, so the text reads as written again and counts as untranslated. list_translations returns what is saved, with each text as it must be sent here. Translations sit outside the draft: they need no save_guide_changes and no publish_changes, and the write scope is enough whether the language is live or not. While the language is not live (live false in list_languages and in the response), what you save shows to nobody but the creator, who reviews it on the studio's Languages page (studioUrl); the language goes live with set_language_live or with the Live switch there. Once the language is live, every translation saved shows to buyers at once, so change one only when the creator asks. Translate only when the creator asked for this language, and like this: Translate faithfully, in the creator's voice: never add, drop or invent a fact, a price, a time or a rule. Numbers, units, currencies, dates and clock times stay as written. Place names, the names of businesses and people and other proper nouns stay as they are, unless the place has an established name in the target language (Vierwaldstättersee is Lake Lucerne in English). Keep the text's form: blank lines between paragraphs, lines that start with "- " as list items, and [label](https://...) links with the same address, translating the label only. A bare web address stays untouched. Tokens in braces such as {guide:count:spots} stay exactly as they are. A text that needs no change in the target language (a place name alone, Oeschinensee) is saved with the same words as its translation, so it no longer counts as untranslated. The copy rules hold in every language: no em dash character, no emoji, never promise updates or lifetime anything. When the language is already live, what you save shows to buyers at once: write the final wording, never a draft. The response counts translated, total and remaining after the save: go on with list_untranslated_texts until remaining is 0, then tell the creator, and make the language live with set_language_live only when they ask you to. A translation is at most 20000 characters and a request body 2 MB, so send long texts in smaller batches. Refused with invalid_request, and nothing of the call saved, for a language the guide is not offered in (add_language first), more than 500 entries, a translation that is too long, and a text with no words (a number, a time, a web address), which is never translated.

## Path parameters

- `lang` (string, required): The language to translate into: en (English), de (German), fr (French) or it (Italian), one the guide is offered in (list_languages).
- `productId` (string, required): Id of the guide (a product of type map). From list_guides or create_guide.

## Body parameters

- `entries` (array of objects, required): The translations to write, at most 500: [{ text, translation }]. Texts left out keep the translation they have.
  - `text` (string, required): A text of the guide exactly as list_untranslated_texts returned it, with its spaces and line breaks.
  - `translation` (string, required): Its words in the language, at most 20000 characters, in the same form as the text. The same words as the text when it needs no change (a place name). An empty string removes the text's translation.

## Returns

200.

- `ok` (boolean, required): Always true: the write went through. Always `true`.
- `productId` (string, required): The guide's id.
- `lang` (string, required): The language: en (English), de (German), fr (French) or it (Italian).
- `saved` (number, required): How many entries this call wrote: translations saved and, for an empty translation, removed.
- `live` (boolean, required): true when buyers can read the guide and its sales pages in this language. set_language_live turns it on or off, and so does the creator with Live on the studio's Languages page. While it is true, every translation saved shows to buyers at once.
- `translated` (number, required): How many of the guide's texts have a translation in this language now.
- `total` (number, required): How many texts the guide has to translate: every text of the draft and of its sales pages, each once however often it is used. Archived spots, chapters, collections, hikes and properties are left out.
- `remaining` (number, required): How many texts have no translation yet: total minus translated. When it did not fall by the translations you sent, a text did not match the guide's: send each text exactly as list_untranslated_texts returned it.
- `studioUrl` (string, required): This language on the guide's Languages page in the studio, where the creator reviews the translations and turns Live on.
- `nextStep` (string, required): What to do next.

## Examples

### Save a batch: the token and the place name stay as they are

```bash
curl -X PATCH "https://sceniq.earth/api/v1/guides/j5738kd1q9x2m7v4c6b8n0p3r5t1w9y2/languages/de/translations" \
  -H "Authorization: Bearer $SCENIQ_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "entries": [
    {
      "text": "{guide:count:spots} viewpoints in Yellowstone and Yosemite, each with an exact pin",
      "translation": "{guide:count:spots} Aussichtspunkte in Yellowstone und Yosemite, jeder mit genauem Pin"
    },
    {
      "text": "Grand Prismatic Spring",
      "translation": "Grand Prismatic Spring"
    },
    {
      "text": "The largest hot spring in the United States. See it from the boardwalk, then from the overlook above the Fairy Falls trail.",
      "translation": "Die größte heiße Quelle der USA. Sieh sie dir vom Holzsteg aus an, danach vom Aussichtspunkt oberhalb des Fairy Falls Trail."
    }
  ]
}'
```

MCP `tools/call`:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "save_translations",
    "arguments": {
      "productId": "j5738kd1q9x2m7v4c6b8n0p3r5t1w9y2",
      "lang": "de",
      "entries": [
        {
          "text": "{guide:count:spots} viewpoints in Yellowstone and Yosemite, each with an exact pin",
          "translation": "{guide:count:spots} Aussichtspunkte in Yellowstone und Yosemite, jeder mit genauem Pin"
        },
        {
          "text": "Grand Prismatic Spring",
          "translation": "Grand Prismatic Spring"
        },
        {
          "text": "The largest hot spring in the United States. See it from the boardwalk, then from the overlook above the Fairy Falls trail.",
          "translation": "Die größte heiße Quelle der USA. Sieh sie dir vom Holzsteg aus an, danach vom Aussichtspunkt oberhalb des Fairy Falls Trail."
        }
      ]
    }
  }
}
```

Response 200:

```json
{
  "ok": true,
  "productId": "j5738kd1q9x2m7v4c6b8n0p3r5t1w9y2",
  "lang": "de",
  "saved": 3,
  "live": false,
  "translated": 99,
  "total": 212,
  "remaining": 113,
  "studioUrl": "https://creators.sceniq.earth/products/j5738kd1q9x2m7v4c6b8n0p3r5t1w9y2?tab=languages&lang=de",
  "nextStep": "113 texts have no translation yet: go on with list_untranslated_texts and save_translations until remaining is 0."
}
```

### The last text: every text is translated, and the language is not live yet

```bash
curl -X PATCH "https://sceniq.earth/api/v1/guides/j5738kd1q9x2m7v4c6b8n0p3r5t1w9y2/languages/de/translations" \
  -H "Authorization: Bearer $SCENIQ_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "entries": [
    {
      "text": "Midway Geyser Basin lot, full by 10:00 in summer. Fairy Falls trailhead lot 1.6 km south.",
      "translation": "Parkplatz Midway Geyser Basin, im Sommer ab 10:00 voll. Parkplatz am Fairy Falls Trailhead 1.6 km südlich."
    }
  ]
}'
```

MCP `tools/call`:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "save_translations",
    "arguments": {
      "productId": "j5738kd1q9x2m7v4c6b8n0p3r5t1w9y2",
      "lang": "de",
      "entries": [
        {
          "text": "Midway Geyser Basin lot, full by 10:00 in summer. Fairy Falls trailhead lot 1.6 km south.",
          "translation": "Parkplatz Midway Geyser Basin, im Sommer ab 10:00 voll. Parkplatz am Fairy Falls Trailhead 1.6 km südlich."
        }
      ]
    }
  }
}
```

Response 200:

```json
{
  "ok": true,
  "productId": "j5738kd1q9x2m7v4c6b8n0p3r5t1w9y2",
  "lang": "de",
  "saved": 1,
  "live": false,
  "translated": 212,
  "total": 212,
  "remaining": 0,
  "studioUrl": "https://creators.sceniq.earth/products/j5738kd1q9x2m7v4c6b8n0p3r5t1w9y2?tab=languages&lang=de",
  "nextStep": "Every text is translated, and the language is not live yet. Tell the creator, who can review the translation on the studio's Languages page (studioUrl). Make it live with set_language_live when the creator asks you to, or they switch on Live on that page."
}
```

### Remove a text's translation with an empty one: the text reads as written again

```bash
curl -X PATCH "https://sceniq.earth/api/v1/guides/j5738kd1q9x2m7v4c6b8n0p3r5t1w9y2/languages/de/translations" \
  -H "Authorization: Bearer $SCENIQ_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "entries": [
    {
      "text": "Midway Geyser Basin lot, full by 10:00 in summer. Fairy Falls trailhead lot 1.6 km south.",
      "translation": ""
    }
  ]
}'
```

MCP `tools/call`:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "save_translations",
    "arguments": {
      "productId": "j5738kd1q9x2m7v4c6b8n0p3r5t1w9y2",
      "lang": "de",
      "entries": [
        {
          "text": "Midway Geyser Basin lot, full by 10:00 in summer. Fairy Falls trailhead lot 1.6 km south.",
          "translation": ""
        }
      ]
    }
  }
}
```

Response 200:

```json
{
  "ok": true,
  "productId": "j5738kd1q9x2m7v4c6b8n0p3r5t1w9y2",
  "lang": "de",
  "saved": 1,
  "live": false,
  "translated": 211,
  "total": 212,
  "remaining": 1,
  "studioUrl": "https://creators.sceniq.earth/products/j5738kd1q9x2m7v4c6b8n0p3r5t1w9y2?tab=languages&lang=de",
  "nextStep": "1 text has no translation yet: go on with list_untranslated_texts and save_translations until remaining is 0."
}
```

## Errors

- `invalid_argument` (400): A required field is missing, a field is unknown, or a value does not match its type (the Convex validator's path and value are in the message).
- `invalid_request` (400): A writer refused a value: a map link on a host that is not allowed, a title that is too long, a date that does not exist, too many items in a list. The message is the writer's own sentence.
- `unauthenticated` (401): The request carries no key. Send it as Authorization: Bearer sk_sceniq_... (or X-Api-Key).
- `invalid_api_key` (401): The key is unknown, revoked or expired.
- `api_scope_required` (403): A read-only key called a write operation, or a key without the publish option called publish_changes.
- `forbidden` (403): The key belongs to a creator account that is no longer active.
- `not_found` (404): The id does not exist or belongs to another creator. The two answers are identical on purpose, so ids never reveal what exists.
- `payload_too_large` (413): A JSON body over 2 MB, an image over 6 MB, a batch upload over 19 MB, or an MCP message over 2 MB.
- `rate_limited` (429): Over a limit: requests per key per minute, per creator per hour, uploads per key per minute, or check_links per guide per hour.
- `internal_error` (500): An unexpected failure. The message is hidden on purpose.

Reference: https://developers.sceniq.earth/reference/save_translations
