userLocale
Syntax | userLocale(user) | Package |
|
Alias |
| Pkg Usage |
|
Description
Returns the locale for a user.
Parameters
Parameter name | Type | Required | Description |
|---|---|---|---|
user | String | Yes | Username or key of the user. |
Return Type
String
The return value represents the language code and the country code for the specified user.
Example
userLocale("admin");Returns: The language of admin. (E.g: en_US)