Skip to content
URL:
https://<root>/system/languages
Methods:
GET
Version Introduced:
10.4

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 lists which languages will appear in portal content search results. The Update Languages operation can change which language's content will be available, though disabling all languages is not supported. A minimum of one language must be enabled.

Request parameters

ParameterDetails

f

The response format. The default response format is html.

Values: html | json | pjson

Language values

LanguageValue

Arabic

(عربي)

esri_ar

Bosnian

(Bosanski)

esri_bs

Bulgarian

(Български)

Support added at 11.0.

esri_bg

Catalan

(Català)

esri_ca

Croatian

(Hrvatski)

esri_hr

Czech

(čeština)

esri_cs

Danish

(Dansk)

esri_da

Dutch

(Nederlands)

esri_nl

English

esri_en

Estonian

(Eesti)

esri_et

Finnish

(Suomi)

esri_fi

French

(Français)

esri_fr

German

(Deutsch)

esri_de

Greek

(Ελλάδα)

esri_el

Hebrew

(עברית)

esri_he

Hindi

(हिंदी)

esri_hi

Hungarian

(Magyar)

esri_hu

Indonesian

(Bahasa Indonesia)

esri_ind

Italian

(Italiano)

esri_it

Japanese

(日本語)

esri_ja

Korean

(한국어)

esri_ko

Latvian

(Latviešu)

esri_lv

Lithuanian

(Lietuvių)

esri_lt

Norwegian

(Norsk)

esri_nb

Polish

(Polski)

esri_pl

Portuguese (Brazil)

(Português [Brasil])

esri_pt

Portuguese (Portugal)

(Português [Portugal])

esri_po

Romanian

(Română)

esri_ro

Russian

(Русский)

esri_ru

Serbian

(Русский)

esri_sr

Simplified Chinese

(简体中文)

esri_zh

Slovak

(Slovenčina)

Support added at 10.9.

esri_sk

Slovenian

(Slovenščina)

esri_sl

Spanish

(Español)

esri_es

Swedish

(Svenska)

esri_sv

Thai

(ไทย)

esri_th

Traditional Chinese (Hong Kong)

(繁體中文 [香港])

esri_hk

Traditional Chinese (Taiwan)

(繁體中文 [台灣])

esri_tw

Turkish

(Türkçe)

esri_tr

Ukranian

(Україна)

esri_uk

Vietnamese

(Tiếng Việt)

esri_vi

Example usage

The following is a sample request URL for the languages resource:

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

JSON Response syntax

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
45
{
  "languages": {
    "esri_ar": <true|false>,
    "esri_bs": <true|false>,
    "esri_bg": <true|false>,
    "esri_ca": <true|false>,
    "esri_cs": <true|false>,
    "esri_da": <true|false>,
    "esri_de": <true|false>,
    "esri_el": <true|false>,
    "esri_en": <true|false>,
    "esri_es": <true|false>,
    "esri_et": <true|false>,
    "esri_fi": <true|false>,
    "esri_fr": <true|false>,
    "esri_he": <true|false>,
    "esri_hi": <true|false>,
    "esri_hk": <true|false>,
    "esri_hr": <true|false>,
    "esri_hu": <true|false>,
    "esri_ind": <true|false>,
    "esri_it": <true|false>,
    "esri_ja": <true|false>,
    "esri_ko": <true|false>,
    "esri_lt": <true|false>,
    "esri_lv": <true|false>,
    "esri_nb": <true|false>,
    "esri_nl": <true|false>,
    "esri_pl": <true|false>,
    "esri_po": <true|false>,
    "esri_pt": <true|false>,
    "esri_ro": <true|false>,
    "esri_ru": <true|false>,
    "esri_sk": <true|false>,
    "esri_sl": <true|false>,
    "esri_sr": <true|false>,
    "esri_sv": <true|false>,
    "esri_th": <true|false>,
    "esri_tr": <true|false>,
    "esri_tw": <true|false>,
    "esri_vi": <true|false>,
    "esri_uk": <true|false>,
    "esri_zh": <true|false>
  }
}

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": {
    "esri_ar": true,
    "esri_bg": true,
    "esri_bs": true,
    "esri_ca": true,
    "esri_cs": true,
    "esri_da": true,
    "esri_de": true,
    "esri_el": true,
    "esri_en": true,
    "esri_es": true,
    "esri_et": true,
    "esri_fi": true,
    "esri_fr": true,
    "esri_he": true,
    "esri_hk": true,
    "esri_hr": true,
    "esri_hu": true,
    "esri_ind": true,
    "esri_it": true,
    "esri_ja": true,
    "esri_ko": true,
    "esri_lt": true,
    "esri_lv": true,
    "esri_nb": true,
    "esri_nl": true,
    "esri_pl": true,
    "esri_po": true,
    "esri_pt": true,
    "esri_ro": true,
    "esri_ru": true,
    "esri_sk": true,
    "esri_sl": true,
    "esri_sr": true,
    "esri_sv": true,
    "esri_th": true,
    "esri_tr": true,
    "esri_tw": true,
    "esri_uk": true,
    "esri_vi": true,
    "esri_zh": true
  }
}

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