This function retrieves information about the user's current locale setting.
uapi --output=jsonpretty \ --user=username \ Locale \ get_attributes
{- "apiversion": 3,
- "func": "get_attributes",
- "module": "Locale",
- "result": {
- "data": {
- "direction": "ltr",
- "encoding": "utf-8",
- "locale": "en",
- "name": "English"
}, - "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}