Update languages

  • URL:https://<system>/languages/update(POST only)
  • Version Introduced:10.4

Description

You can use this operation to change which languages will have content displayed in portal search results.

Note:

This operation triggers a reindex of the portal. This may take awhile to finish. During this time, the index service may not respond correctly to index queries.

Request parameters

ParameterDetails
languages

The JSON object containing all of the possible portal languages and their corresponding status (true or false).

Example usage

https://webadaptorhost.domain.com/arcgis/portaladmin/system/languages/update
{"languages": {
    "esri_ar":false,
    "esri_cs":false,
    "esri_da":false,
    "esri_de":false,
    "esri_el":false,
    "esri_en":true,
    "esri_es":false,
    "esri_et":false,
    "esri_fi":false,
    "esri_fr":false,
    "esri_he":false,
    "esri_hk":false,
    "esri_hr":true,
    "esri_it":false,
    "esri_ja":false,
    "esri_ko":false,
    "esri_lt":false,
    "esri_lv":false,
    "esri_nb":false,
    "esri_nl":false,
    "esri_pl":false,
    "esri_po":false,
    "esri_pt":false,
    "esri_ro":false,
    "esri_ru":false,
    "esri_sr":true,
    "esri_sv":false,
    "esri_th":false,
    "esri_tr":false,
    "esri_tw":false,
    "esri_vi":false,
    "esri_zh":false
}}