Languages
There are 239 language codes in the ISO standard language code table. This service defaults to supporting a maximum of 17 languages resources. However, you can add custom languages (requires Environment Admin permissions). Refer to Create Language.
The languages service supports the following input and output data model properties for languages resources.
Languages input data model
| Property | Type | Required? | Mutable? | Description |
|---|---|---|---|---|
|
Boolean |
Required |
Mutable |
Specifies whether this language is the default for the environment. This property value must be set to |
|
Boolean |
Required |
Mutable |
Specifies whether this language is enabled for the environment. This property value must be set to |
|
String |
Required |
Immutable |
The environment resource’s unique identifier associated with the resource. |
|
String |
Required |
Immutable |
The resource’s unique identifier. |
|
String |
Required |
Mutable |
An ISO standard language code. For more information about standard language codes, refer to ISO Language Code Table. |
|
String |
Optional |
Mutable |
The language name. If omitted, the ISO standard name is used. |
Languages output data model
| Property | Type | Required? | Mutable? | Description |
|---|---|---|---|---|
|
Date |
N/A |
Read-only |
The time the language resource was created. |
|
Boolean |
Optional |
Mutable |
Specifies whether this language was added by a customer administrator. |
|
Boolean |
Required |
Mutable |
Specifies whether this language is the default for the environment. This property value must be set to |
|
Boolean |
Required |
Mutable |
Specifies whether this language is enabled for the environment. This property value must be set to |
|
String |
Required |
Immutable |
The environment resource’s unique identifier associated with the resource. |
|
String |
Required |
Immutable |
The resource’s unique identifier. |
|
String |
Required |
Mutable |
An ISO standard language code. For more information about standard language codes, refer to ISO Language Code Table. |
|
String |
Optional |
Mutable |
The language name. If omitted, the ISO standard name is used. |
|
Date |
N/A |
Read-only |
The time the language resource was last updated. |
Response codes
| Code | Message |
|---|---|
200 |
Successful operation. |
201 |
Successfully created. |
204 |
Successfully removed. No content. |
400 |
The request could not be completed. |
401 |
You do not have access to this resource. |
403 |
You do not have permissions or are not licensed to make this request. |
404 |
The requested resource was not found. |