---
title: "Update a language"
method: PUT
path: "/projects/{project_id}:{branch}/languages/{lang_id}"
tags: ["Languages"]
---

# Update a language

`PUT /projects/{project_id}:{branch}/languages/{lang_id}`

## Request

- Base URL: `https://api.lokalise.com/api2`
- URL: `https://api.lokalise.com/api2/projects/{project_id}:{branch}/languages/{lang_id}`
- Auth: API key in header `X-Api-Token`

Updates the properties of a language. Requires *Manage languages* admin right.

Requires <code>write_languages</code> OAuth access scope.

## Path parameters

- `project_id` string, required
- `branch` string, required
- `lang_id` number, required

## Request body

- object
  - `lang_iso` string: Language/locale code.
  - `lang_name` string: Language name.
  - `plural_forms` string[]: List of supported plural forms.

## Response `200`

OK

- object
  - `project_id` string
  - `language` Languages
    - `lang_id` number: A unique language identifier in the system.
    - `lang_iso` string: Language/locale code.
    - `lang_name` string: Language name.
    - `is_rtl` boolean: Whether the language is Right-To-Left.
    - `plural_forms` unknown[]: List of supported plural forms.
      - unknown
    - `cc_iso` string: Country code, associated with the language.

---

[API](https://skmtc.dev/lokalise/apis/projects-with-branches.md) - [All operations](https://skmtc.dev/lokalise/apis/projects-with-branches/llms.txt) - [OpenAPI document](https://skmtc.dev/lokalise/apis/projects-with-branches/revisions/7ed3f978a361?raw)
