/api/languages/:code
Update a language
Patch parameters
Parameter | Type | Required | Description |
---|---|---|---|
name |
string |
|
The display name of the language |
locale |
string |
|
PHP locale string |
direction |
string |
|
ltr or rtl . ltr will be used as default. |
url |
string |
|
Custom URL path setting for the language. If not set, the language code will be used as URL path. |