locale.get
The locale.get command is used to retrieve the localization information, such as language and date formats, of the current session.
TR50 Request
{
"cmd": {
"command": "locale.get"
}
}
TR50 Response
If the command is sent successfully a success message is returned. Otherwise, an error an error message is returned.
{
"cmd": {
"success": true,
"params": {
"locale": "pt_BR"
}
}
}
Response Parameters
Name |
Type |
Description |
---|---|---|
locale |
String |
The locale of the current session. |