Change the language of a presentation
set_languageSay which language the texts of a presentation you may edit are written in, when the site guessed it wrong (all its texts are Russian, but it was made English). Every text, slide name and the title is put right: where a translation into the new language exists, it becomes the text and the text becomes the translation into the old language; texts that are in the new language already stay; the ones that are in neither are listed as "untranslated". Returns the counts and what is still to translate.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"slug": "<slug>",
"lang": "<lang>"
},
"name": "set_language"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | Yes | The language the texts are written in. | |
| slug | Yes | The presentation's slug (its address: /movie/<slug>/). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kept | No | Texts that were in the language already. | |
| lang | Yes | ||
| swapped | No | Texts whose translation became the text. | |
| untranslated | No | Texts in neither language. | |
| previous_lang | No | ||
| untranslated_blocks | No | The first of those blocks. | |
| missing_translations | No | What is not translated yet into the other languages of the site (add it): the first ones; "missing_translations_count" says how many there are. | |
| missing_translations_count | No | How many texts are not translated yet. |