Skip to main content

settings/languages/print

Retrieves the list of all languages defined in the platform with code and title, returning an Excel, JSON or XML file.

URL

CODE
(GET) /api/settings/languages/print

PARAMETERS

The URL parameters are:

format

The report format, any of:

  • Excel (default)

  • Xml

  • Json

Optional, string

RESULTS

The method returns a file “languages” in the following format:

JSON

The file content is a JSON array. See example below:

CODE
[
  {
    "v": "*",
    "t": "All languages"
  },
  {
    "v": "ab",
    "t": "Abkhazian"
  },
  {
    "v": "ace",
    "t": "Acehnese"
  },
  {
    "v": "ach",
    "t": "Acholi"
  },
  ...
]

XML

CODE
<?xml version="1.0" encoding="utf-8"?>
<Rows>
  <Row>
    <v>*</v>
    <t>All languages</t>
  </Row>
  <Row>
    <v>ab</v>
    <t>Abkhazian</t>
  </Row>
  <Row>
    <v>ace</v>
    <t>Acehnese</t>
  </Row>
  <Row>
    <v>ach</v>
    <t>Acholi</t>
  </Row>
  ...
</Rows>

EXCEL

The report is an .xlsx file.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.