locale.list
The locale.list command is used to list supported locales.
TR50 Request
{
"cmd": {
"command": "locale.list"
}
}
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": {
"result": [
"en_US",
"ar",
"ara",
"de",
"deu",
"es",
"fr",
"fra",
"he",
"heb",
"it",
"ita",
"ja",
"jpn",
"por",
"pt_BR",
"ru",
"rus",
"spa",
"zh_CN",
"zho"
]
}
}
}
Response Parameters
Name |
Type |
Description |
---|---|---|
result |
Array |
Supported locale list. |