- URL:https://<root>/system/content/languages
- Operations:Add Language, Remove Languages
- Required Capability:Default administrator role | Organization website
- Version Introduced:10.9
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.
Note:
Language configurations (enabled or disabled) will be preserved when upgrading your organization.
Request parameters
Parameter | Details |
---|---|
f | The response format. The default format is html. Values: html | json | pjson |
Language codes
Supported language | Code value |
---|---|
Arabic (عربي) | ar |
Bosnian (Bosanski) | bs |
Bulgarian Български | Support added at 11.0 bg |
Catalan (Català) | ca |
Croatian (Hrvatski) | hr |
Czech (čeština) | cs |
Danish (Dansk) | da |
Dutch (Nederlands) | nl |
English | en |
Estonian (Eesti) | et |
Finnish (Suomi) | fi |
French (Français) | fr |
German (Deutsch) | de |
Greek (Ελλάδα) | el |
Hebrew (עברית) | he |
Hungarian (Magyar) | hu |
Indonesian (Bahasa Indonesia) | ind |
Italian (Italiano) | it |
Japanese (日本語) | ja |
Korean (한국어) | ko |
Latvian (Latviešu) | lv |
Lithuanian (Lietuvių) | lt |
Norwegian (Norsk) | nb |
Polish (Polski) | pl |
Portuguese (Brazil) (Português [Brasil]) | pt |
Portuguese (Portugal) (Português [Portugal]) | po |
Romanian (Română) | ro |
Russian (Русский) | ru |
Serbian (Русский) | sr |
Simplified Chinese (简体中文) | zh |
Slovak (Slovenčina) | sk |
Slovenian (Slovenščina) | sl |
Spanish (Español) | es |
Swedish (Svenska) | sv |
Thai (ไทย) | th |
Traditional Chinese (Hong Kong) (繁體中文 [香港]) | hk |
Traditional Chinese (Taiwan) (繁體中文 [台灣]) | tw |
Turkish (Türkçe) | tr |
Ukranian (Україна) | ukr |
Vietnamese (Tiếng Việt) | vi |
Example usage
The following is a sample request URL used to access the languages resource:
https://organization.domain.com/context/admin/system/content/languages?f=pjson
JSON 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
}
}