This function lists an account's available interface languages.
uapi --output=jsonpretty \ --user=username \ Locale \ list_locales
{- "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
}
}