Skip to content
URL:
https://<root>/system/content/languages
Methods:
GET
Operations:
Add, Remove
Version Introduced:
11.2

Access requirements

Required privileges

The Portal 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 Portal 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 generateToken operation in the Portal Directory API. For security reasons, all POST requests made to the Portal Administrator API must include a token in the request body.


Learn how to generate a token

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). By default, all languages are enabled after configuring your organization. When a language is enabled, the Esri-provided content for the language is searchable and accessible to users in your organization. You can modify the enabled languages for your organization using the Add and Remove operations. Removing a language disables it, which removes its Esri-provided content from your organization. At least one language must always be enabled.

Request parameters

ParameterDetails

f

The response format. The default format is html.

Values: html | json | pjson

Language codes

Supported languageCode 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:

Use dark colors for code blocksCopy
1
https://organization.example.com/<context>/admin/system/content/languages?f=pjson

JSON Response example

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
  "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
  }
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.