locale.get

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

TR50 Request

 {
  "cmd": {
    "command": "locale.get"
  }
}

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,
    "params": {
      "locale": "pt_BR"
    }
  }
}

Response Parameters

PHP API

mixed TR50httpWorker::localeGet();