# IRPCLanguagesAdmin.ModifyLanguage

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Administration API](https://developer.m-files.com/APIs/gRPC-API/admin/index.md) > [Language administration](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCLanguagesAdmin/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCLanguagesAdmin/ModifyLanguage/

Badges: `Administration API / specialized` `admin` `session` `idempotent`

Changes the name or language code of a language.

- **Service:** [Language administration](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCLanguagesAdmin/index.md) `MFiles.IRPCLanguagesAdmin`
- **gRPC method:** `/MFiles.IRPCLanguagesAdmin/ModifyLanguage`
- **HTTP (mf-http-grpc):** `POST /grpc/v1/modify-language`
- **Request:** [`ModifyLanguageRequest`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCLanguagesAdmin/ModifyLanguage/index.md#request)
- **Response:** [`ModifyLanguageResponse`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCLanguagesAdmin/ModifyLanguage/index.md#response)
- **Book and level:** Administration API, specialized
- **Kind:** admin
- **Session:** Required: the session ID from LogIn in the mfiles-session-id-bin metadata.
- **Idempotent:** yes
- **Returns metadata structure version:** no
- **Streaming:** none (unary)

<a id="remarks"></a>

## Remarks

- Requires the vault rights `change_metadata_structure` and `license_allows_modifications`, and
  a server license that includes the languages feature.
- The default language (0) and additional languages can be modified; a negative ID fails with
  "Access denied".

<a id="request"></a>

## Request: ModifyLanguageRequest

> Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

| Field | Type | Description |
|---|---|---|
| `lang` | [`Language`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.Language/index.md) | The new data of the language; `id` identifies the language. |
| `lang.id` | `int32` | Language ID. |
| `lang.name` | `string` | The name of the language. |
| `lang.language_code` | `string` | Language indentifier, e.g. the ISO 639-1 or ISO 639-2 language code such as "en" or "eng". |

<a id="response"></a>

## Response: ModifyLanguageResponse

No fields.
