setLanguage (v1.0)

Estimated reading time: 1 minute

This API provides the language setting of the device.

Note

A special value is required for language to distinguish Chinese characters, as seen below.
  • "CHS": means Simplified Chinese.
  • "CHT": means Traditional Chinese.

Syntax

http://<Base URL>/system

Authentication Level

generic

Request

params' Elements
An object composed of the following pair(s).
name type multiplicity default description
language string 1 Language code represented by ISO-639 alpha-3 to set in the device.
JSON Example
{
    "method": "setLanguage",
    "id": 55,
    "params": [{"language": "eng"}],
    "version": "1.0"
}

Response

result's Elements
Not necessary.
JSON Example
{
    "result": [],
    "id": 55
}
Error Code
The following error codes are important for this API. Refer to error code for other errors.
code Explanation
3 Language code specified in the request is not supported on the device

Appendix

  • The available values of “language” depend on region or country settings on TV.
Last modified: 15 Feb 2019