# Set UI language

- **Method:** `PUT`
- **Path:** `/api/v1/settings/ui-language`
- **Operation ID:** `set_ui_language_setting_api_v1_settings_ui_language_put`
- **Tags:** Settings

Set the UI language code and switch the i18n locale immediately.

## Effective servers

- `http://127.0.0.1:8100`

  Voice Creator Pro on this computer

## Query parameters

- **`language` (required)**: `string`

  ISO language code (e.g. 'en', 'de', 'ja')

## Responses

### 200 Successful Response

**Content type:** `application/json`

schema: `UiLanguageSetResponse`

- **`changed` (required)**: `boolean`

  Whether the language was actually changed
- **`success` (required)**: `boolean`

  Whether the operation succeeded

**Example:**

```json
{
  "success": true,
  "changed": true
}
```

### 422 Validation Error

**Content type:** `application/json`

schema: `HTTPValidationError`

- **`detail`**: `array`

  **Items:**

  schema: `ValidationError`
  - **`loc` (required)**: `array of (string | integer)`
  - **`msg` (required)**: `string`
  - **`type` (required)**: `string`
  - **`ctx`**: `object`
  - **`input`**: `any`

**Example:**

```json
{
  "detail": [
    {
      "loc": [
        ""
      ],
      "msg": "",
      "type": "",
      "input": null,
      "ctx": {}
    }
  ]
}
```

## Schemas

- `HTTPValidationError` — shown above.
- `UiLanguageSetResponse` — shown above.
- `ValidationError` — shown above.
