---
title: "Change the language of a presentation"
method: POST
path: "/api/v1/presentations/{slug}/language"
tags: ["presentations"]
---

# Change the language of a presentation

`POST /api/v1/presentations/{slug}/language`

## Request

- Base URL: `https://easeweb.host`
- URL: `https://easeweb.host/api/v1/presentations/{slug}/language`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `sessionid`

Say 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.

## Path parameters

- `slug` string, required: The presentation's slug (its address: /movie/<slug>/).

## Request body

- object
  - `lang` 'ru' | 'en', required: The language the texts are written in.

## Response `200`

OK

- object

## Other responses

- `4XX`: Error

---

[API](https://skmtc.dev/easeweb/apis/easeweb-presentations-api.md) · [All operations](https://skmtc.dev/easeweb/apis/easeweb-presentations-api/llms.txt) · [OpenAPI document](https://skmtc.dev/easeweb/apis/easeweb-presentations-api/revisions/9f5566adb5d1?raw)
