DeepLearnAI
Developer Platform
Get API Key

Translate Course

POST https://api.deep-learn.ai/v1/course/translate

Translate an entire course (in JSON or XML format) to one of over 100 languages, maintaining the same structure.

Request body

course
string (JSON or XML)
Required

The full course content in either JSON or XML format as a string.

targetLanguage
string
Required

The target language for translation.

Returns

translatedCourse
string (JSON or XML)

The translated course in the same format as the input (JSON or XML).

success
boolean

Indicates if the request was successful.

errorCode
number or null

The error code if the request was not successful.

errorMessage
string or null

The error message if the request was not successful.