- URL:
- https://<root>/system/content/languages
- Methods:
GET- Operations:
- Add Language, Remove Languages
- Version Introduced:
- 10.9
Access requirements
Required privileges
The Enterprise Administrator API requires privilege-based access. An administrator must be assigned a specific user privilege, or role, to access any given endpoint. Listed below are the user privileges or roles an administrator can be assigned that provides access to this endpoint. If multiple privileges are listed, only one needs to be assigned to gain access.
Tokens
This API requires token-based authentication. A token is automatically generated for administrators who sign in to the Enterprise Administrator API directory's HTML interface. Tokens generated in this way are stored for the entirety of the session.
Those accessing the API directory outside of the HTML interface will need to acquire a session token from the generate operation in the Enterprise Directory API. For security reasons, all POST requests made to the Enterprise Administrator API must include a token in the request body.
Description
The languages resource returns a list of all Esri-supported languages and their associated language codes, as well as the current status of the language (either enabled or disabled). After your organization has been configured, English (language code en) will be the only enabled language by default. Additional languages can be enabled using the Add operation. Once enabled, the Esri-provided content for these languages will be searchable and accessible to users in your organization. Enabled languages can be disabled using the Remove operation, which will remove their Esri-provided content from your organization. Note that at least one language must always be enabled.
Request parameters
| Parameter | Details |
|---|---|
| The response format. The default format is Values: |
Language codes
| Supported language | Code value |
|---|---|
(عربي) |
|
(Bosanski) |
|
(Български) | Support added at 11.0
|
(Català) |
|
(Hrvatski) |
|
(čeština) |
|
(Dansk) |
|
(Nederlands) |
|
|
|
(Eesti) |
|
(Suomi) |
|
(Français) |
|
(Deutsch) |
|
(Ελλάδα) |
|
(עברית) |
|
(Magyar) |
|
(Bahasa Indonesia) |
|
(Italiano) |
|
(日本語) |
|
(한국어) |
|
(Latviešu) |
|
(Lietuvių) |
|
(Norsk) |
|
(Polski) |
|
(Português [Brasil]) |
|
(Português [Portugal]) |
|
(Română) |
|
(Русский) |
|
(Русский) |
|
(简体中文) |
|
(Slovenčina) |
|
(Slovenščina) |
|
(Español) |
|
(Svenska) |
|
(ไทย) |
|
(繁體中文 [香港]) |
|
(繁體中文 [台灣]) |
|
(Türkçe) |
|
(Україна) |
|
(Tiếng Việt) |
|
Example usage
The following is a sample request URL used to access the languages resource:
https://organization.example.com/<context>/admin/system/content/languages?f=pjsonJSON Response example
{
"languages": {
"de": true,
"fi": false,
"hk": false,
"ru": false,
"tw": false,
"pt": false,
"bg": false,
"lt": true,
"hr": false,
"lv": false,
"fr": false,
"hu": false,
"bs": false,
"ukr": false,
"sk": false,
"sl": false,
"ca": false,
"ind": true,
"sr": false,
"sv": false,
"ko": false,
"el": false,
"en": true,
"it": false,
"es": false,
"zh": false,
"et": true,
"cs": false,
"ar": false,
"vi": false,
"nb": false,
"th": false,
"ja": false,
"pl": false,
"da": true,
"he": false,
"ro": false,
"nl": false,
"tr": false,
"po": false
}
}