POST
/
v2
/
translate
/
file
Translate a File
curl --request POST \
  --url https://api.lilt.com/v2/translate/file
[
  {
    "id": 1,
    "fileId": "2,",
    "status": "InProgress",
    "createdAt": 1609357135
  }
]

Authorizations

key
string
query
required

Query Parameters

fileId
string
required

List of File ids to be translated, comma separated.

memoryId
string
required

Id of Memory to use in translation.

configId
number

An optional pararameter to specify an import configuration to be applied when extracting translatable content from this file.

withTM
boolean

An optional boolean parameter to toggle the use of Translation Memory in the translation of the file.

Response

Translation Info

List of TranslationInfo objects

id
integer

Unique identifier for this translation.

fileId
integer

id of the File that is being translated.

status
string

Status of the translation - InProgress, ReadyForDownload, Completed, Failed.

createdAt
integer

Time when this translation was started, in seconds since the Unix epoch.

errorMsg
string

Error message, present when status is Failed.