settings/uilocales/print

Retrieves the list of all user interface locales defined in the platform with user interface locale and title, returning an Excel, JSON or XML file.

URL

(GET) /api/settings/uilocales/print

PARAMETERS

The URL parameters are:

format

The report format, any of:

  • Excel (default)

  • Xml

  • Json

Optional, string

RESULTS

The method returns a file “ui-locales” in the following format:

JSON

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

[ { "v": "en", "t": "English" }, ... ]

XML

<?xml version="1.0" encoding="utf-8"?> <Rows> <Row> <v>en</v> <t>English</t> </Row> ... </Rows>

EXCEL

The report is an .xlsx file.

 

Copyright Wordbee - Buzzin' Outside the Box since 2008