---
title: "Set device language/locale"
method: POST
path: "/devices/{deviceId}/language"
tags: ["Misc"]
---

# Set device language/locale

`POST /devices/{deviceId}/language`

Sets the device language/locale to the BCP-47 locale in the request body. An optional restart flag applies the change immediately by restarting the zygote instead of waiting for the next reboot.

## Path parameters

- `deviceId` string, required

## Headers

- `X-Device-Display-ID` integer

## Request body

- SetLanguageArgs
  - `$schema` string, uri — A URL to the JSON Schema for this object.
  - `locale` string, required — BCP-47 locale: a 2–3 letter language tag, optionally followed by a 4-letter script and/or a 2-letter region (e.g. en-US, de-DE, ja-JP, zh-Hans-CN).
  - `restart` boolean — Restart zygote so the locale change takes full effect immediately. Without it, the locale is written but won't fully apply until the next reboot.

## Response `204`

No Content

## Other responses

- `default` — Error

---

[API](https://skmtc.net/mobilerun/apis/workflows.md) · [All operations](https://skmtc.net/mobilerun/apis/workflows/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mobilerun/workflows/revisions/1bc499aa8f99/schema)
