locale.set

The locale.set command is used to set the current session's locale.

TR50 Request


                        {
  "cmd": {
    "command": "locale.set",
    "params": {
       "locale": "pt_BR"
    }
  }
}
      

Request Parameters

Name

Type

Required

Description

locale

String

Yes

The locale to set.

TR50 Response

If the command is sent successfully a success message is returned. Otherwise, an error and error message will be returned.


                        {
  "cmd": {
    "success": true
  }
}