Skip To Content
ArcGIS Developers
Dashboard

Add

Description

This operation enables specified languages for your organization. Once a language has been enabled, the language's related content will be searchable and accessible to users in your organization, and will be listed as enabled (true) in the Languages resource response. Enabled languages can be disabled using the Remove operation.

Note:

Language configurations (enabled or disabled) will be preserved when upgrading your organization.

Request parameters

ParameterDetails
languages

A comma-separated list of language codes for the languages that will be enabled.

Example

languages=fr,de
f

The response format. The default format is html.

Values: html | json | pjson

Language codes

Supported languageCode value

Arabic

ar

Bosnian

bs

Catalan

ca

Croatian

hr

Czech

cs

Danish

da

Dutch

nl

English

en

Estonian

et

Finnish

fi

French

fr

German

de

Greek

el

Hebrew

he

Hungarian

hu

Indonesian

ind

Italian

it

Japanese

ja

Korean

ko

Latvian

lv

Lithuanian

lt

Norwegian

nb

Polish

pl

Portuguese (Brazil)

pt

Portuguese (Portugal)

po

Romanian

ro

Russian

ru

Serbian

sr

Simplified Chinese

zh

Slovak

sk

Slovenian

sl

Spanish

es

Swedish

sv

Thai

th

Traditional Chinese (Hong Kong)

hk

Traditional Chinese (Taiwan)

tw

Turkish

tr

Ukrainian

uk

Vietnamese

vi

Example usage

The following is a sample POST request for the add operation:

POST /context/admin/system/content/languages/add HTTP/1.1
Host: organization.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []

languages=fr,de&f=pjson&token=g4m3FlX7ifeSLP8fClvpnLv95373xYFYD_HtOrrVDMrfaBf4I5PXQnAnCBa9DE5k93jxjGtSeShP1ET5SMykfhT5vHLV2ZirGRrEIdiYk7STP2q7a11QLAzH03RhPD2tM5GSLfnkEqCoq865UTwOA9ot8zPDPnOCr1Nr8_gtMLfqwiX4HsiKpK43iVPSRQb8x0W3h9C4tEbjadtVCculHK8jDaqxf-wCBsuSVJPxsEMoAS5l0QRtO7KjC7tpiMVF

JSON Response example

{"status": "success"}