Return available locales

This function lists an account's available interface languages.

SecurityBasicAuth
Responses
200

HTTP Request was successful.

Response Schema: application/json
apiversion
integer

The version of the API.

func
string

The name of the method called.

module
string

The name of the module called.

object
get/Locale/list_locales
Request samples
uapi --output=jsonpretty \
  --user=username \
  Locale \
  list_locales
Response samples
application/json
{
  • "apiversion": 3,
  • "func": "list_locales",
  • "module": "Locale",
  • "result": {
    • "data": [
      • {
        • "direction": "ltr",
        • "local_name": "Deutsch",
        • "locale": "de",
        • "name": "German"
        }
      ],
    • "errors": null,
    • "messages": null,
    • "metadata": {
      • "transformed": 1
      },
    • "status": 1,
    • "warnings": null
    }
}