Translations

Export Project Translation

Required scopes: project.translation (Read only).

Note: For instant translation delivery directly to user devices, please use OTA. Direct API usage will exceed established rate limits, which suspends further content updates.

post/projects/{projectId}/translations/exports

Request

Path parameters

projectIdinteger required

Project Identifier. Get via List Projects

Request body

targetLanguageIdstring required

Specify target language for export. Get via List Supported Languages

formatstring

Defines export file format. Use API Type feature specified at the corresponding file format from Crowdin Store

Note: the format parameter is required in all cases except when you'd like to export translations for a single file in its original format

labelIdsinteger[]

Label Identifiers. Get via List Labels

branchIdsinteger[]

Branch Identifiers. Get via List Branches

Note: Can't be used with directoryIds or fileIds in same request

directoryIdsinteger[]

Directory Identifiers. Get via List Directories

Note: Can't be used with branchIds or fileIds in same request

fileIdsinteger[]

File Identifiers. Get via List Files

Note: Can't be used with branchIds or directoryIds in same request

skipUntranslatedStringsboolean

Defines whether to export only translated strings

Note: Can't be used with skipUntranslatedFiles in same request

skipUntranslatedFilesboolean

Defines whether to export only translated file

Note: Can't be used with skipUntranslatedStrings in same request

exportWithMinApprovalsCountinteger

Defines whether to export only approved strings

Note: value greater than 0 can't be used with exportStringsThatPassedWorkflow=true in same request

exportStringsThatPassedWorkflowboolean

Defines whether to export only strings that passed workflow

Note: true value can't be used with exportWithMinApprovalsCount>0 in same request or in projects without an assigned workflow

Example request

{
  "targetLanguageId": "uk",
  "format": "xliff",
  "labelIds": [
    1
  ],
  "branchIds": [
    1
  ],
  "directoryIds": [
    1
  ],
  "fileIds": [
    1
  ],
  "exportStringsThatPassedWorkflow": true
}

Response

Project translation download URL

Example response

{
  "data": {
    "url": "https://production-enterprise-importer.downloads.crowdin.com/992000002/2/14.xliff?response-content-disposition={disposition}&X-Amz-Content-Sha256={sha}&X-Amz-Algorithm={algorithm}&X-Amz-Credential={credentials}&X-Amz-Date={date}&X-Amz-SignedHeaders={headers}&X-Amz-Expires={expires}&X-Amz-Signature={signature}",
    "expireIn": "2019-09-20T10:31:21+00:00"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.