Links

Get Supported Languages

Gets the supported languages by the autotranslate.
URL
Requires Auth
HTTP Method
/api/v1/autotranslate.getSupportedLanguages
yes
GET

Query Parameters

Argument
Example
Required
Description
targetLanguage
en
No
Language in which language names will be returned.

Example Call

curl -H "X-Auth-Token: 9HqLlyZOugoStsXCUfD_0YdwnNnunAJF8V47U3QHXSq" \
-H "X-User-Id: aobEdbYhXfu5hkeqG" \
http://localhost:3000/api/v1/autotranslate.getSupportedLanguages?targetLanguage=pt

Example Result

{
"languages": [
{
"language": "af",
"name": "Africâner"
},
{
"language": "sq",
"name": "Albanês"
},
{
"language": "de",
"name": "Alemão"
},
{
"language": "am",
"name": "Amárico"
}
],
"success": true
}

Change Log

Version
Description
1.3.0
Added
Last modified 1yr ago
Deprecation for cloud services and apps is now extended to November 20, 2023. Rocket.Chat versions receive support for six months after release.