---
title: "Updates an app language."
method: PUT
path: "/api/apps/{app}/languages/{language}"
tags: ["Apps"]
---

# Updates an app language.

`PUT /api/apps/{app}/languages/{language}`

## Path parameters

- `app` string, required
- `language` string, required

## Request body

- UpdateLanguageDto
  - `isMaster` boolean, nullable — Set the value to true to make the language the master.
  - `isOptional` boolean — Set the value to true to make the language optional.
  - `fallback` string[], nullable — Optional fallback languages.

## Response `200`

Language updated.

- AppLanguagesDto
  - `_links` object, required — The links.
  - `items` AppLanguageDto[], required — The languages.
    - `_links` object, required — The links.
    - `iso2Code` string, required — The iso code of the language.
    - `englishName` string, required — The english name of the language.
    - `fallback` string[], required — The fallback languages.
    - `isMaster` boolean, required — Indicates if the language is the master language.
    - `isOptional` boolean, required — Indicates if the language is optional.

## Other responses

- `400` — Language request not valid.
- `404` — Language or app not found.
- `500` — Operation failed.

---

[API](https://skmtc.net/squidex/apis/squidex-api.md) · [All operations](https://skmtc.net/squidex/apis/squidex-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/squidex/squidex-api/versions/b4a9b62f113a/schema)
