Detect Language

GET: /mt/detect/text
Request params
Parameters Description
source_content Text for language detection.
Response params
Parameters Description
language Text language.

Request Example

curl --request GET
"https://www.onehourtranslation.com/api/2/mt/detect/text?secret_key=<SECRET_KEY>&public_key=<PUBLIC_KEY>&source_content=text for translation"

Response Example

{
 "status":
  {
   "code":0,
   "msg":"ok"
  },
 "results":
  {
   "language":"English"
  },
 "errors":[]
}