Add

URL:
https://<root>/system/content/languages/add
Methods:
POST
Required Capability:
Access allowed with the "Organization website" privilege
Version Introduced:
10.9

Description

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

Request parameters

ParameterDetails

languages

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

Example
1
languages=fr,de

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 POST request for the add operation:

1
2
3
4
5
6
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

1
{"status": "success"}

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

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close