curl --request POST \
--url https://cloud.memsource.com/web/api2/v3/projects/{projectUid}/jobs/preTranslate \
--header 'Content-Type: application/json' \
--data '
{
"jobs": [
{
"uid": "<string>"
}
],
"segmentFilters": [
"LOCKED"
],
"useProjectPreTranslateSettings": true,
"callbackUrl": "<string>",
"preTranslateSettings": {
"autoPropagateRepetitions": true,
"confirmRepetitions": true,
"setJobStatusCompleted": true,
"setJobStatusCompletedWhenConfirmed": true,
"setProjectStatusCompleted": true,
"overwriteExistingTranslations": true,
"translationMemorySettings": {
"useTranslationMemory": true,
"translationMemoryThreshold": 0.505,
"confirm100PercentMatches": true,
"confirm101PercentMatches": true,
"lock100PercentMatches": true,
"lock101PercentMatches": true
},
"machineTranslationSettings": {
"useMachineTranslation": true,
"machineTranslationBehavior": "APPLY_MT_ABOVE_THRESHOLD",
"lock100PercentMatches": true,
"confirmMatches": true,
"confirmMatchesThreshold": 0.5,
"useAltTransOnly": true,
"mtSuggestOnlyTmBelow": true,
"mtSuggestOnlyTmBelowThreshold": 0.505
},
"nonTranslatableSettings": {
"preTranslateNonTranslatables": true,
"confirm100PercentMatches": true,
"lock100PercentMatches": true
}
}
}
'{
"asyncRequest": {
"id": "<string>",
"createdBy": {
"firstName": "<string>",
"lastName": "<string>",
"userName": "<string>",
"email": "<string>",
"role": "SYS_ADMIN",
"id": "<string>",
"uid": "<string>"
},
"dateCreated": "2023-11-07T05:31:56Z",
"action": "PRE_ANALYSE",
"asyncResponse": {
"dateCreated": "2023-11-07T05:31:56Z",
"errorCode": "<string>",
"errorDesc": "<string>",
"errorDetails": [
{
"code": "<string>",
"args": {},
"message": "<string>"
}
],
"warnings": [
{
"code": "<string>",
"args": {},
"message": "<string>"
}
]
},
"parent": "<unknown>",
"project": {
"uid": "<string>",
"name": "<string>"
}
},
"reference": {
"uid": "<string>",
"type": "JOB"
}
}curl --request POST \
--url https://cloud.memsource.com/web/api2/v3/projects/{projectUid}/jobs/preTranslate \
--header 'Content-Type: application/json' \
--data '
{
"jobs": [
{
"uid": "<string>"
}
],
"segmentFilters": [
"LOCKED"
],
"useProjectPreTranslateSettings": true,
"callbackUrl": "<string>",
"preTranslateSettings": {
"autoPropagateRepetitions": true,
"confirmRepetitions": true,
"setJobStatusCompleted": true,
"setJobStatusCompletedWhenConfirmed": true,
"setProjectStatusCompleted": true,
"overwriteExistingTranslations": true,
"translationMemorySettings": {
"useTranslationMemory": true,
"translationMemoryThreshold": 0.505,
"confirm100PercentMatches": true,
"confirm101PercentMatches": true,
"lock100PercentMatches": true,
"lock101PercentMatches": true
},
"machineTranslationSettings": {
"useMachineTranslation": true,
"machineTranslationBehavior": "APPLY_MT_ABOVE_THRESHOLD",
"lock100PercentMatches": true,
"confirmMatches": true,
"confirmMatchesThreshold": 0.5,
"useAltTransOnly": true,
"mtSuggestOnlyTmBelow": true,
"mtSuggestOnlyTmBelowThreshold": 0.505
},
"nonTranslatableSettings": {
"preTranslateNonTranslatables": true,
"confirm100PercentMatches": true,
"lock100PercentMatches": true
}
}
}
'{
"asyncRequest": {
"id": "<string>",
"createdBy": {
"firstName": "<string>",
"lastName": "<string>",
"userName": "<string>",
"email": "<string>",
"role": "SYS_ADMIN",
"id": "<string>",
"uid": "<string>"
},
"dateCreated": "2023-11-07T05:31:56Z",
"action": "PRE_ANALYSE",
"asyncResponse": {
"dateCreated": "2023-11-07T05:31:56Z",
"errorCode": "<string>",
"errorDesc": "<string>",
"errorDetails": [
{
"code": "<string>",
"args": {},
"message": "<string>"
}
],
"warnings": [
{
"code": "<string>",
"args": {},
"message": "<string>"
}
]
},
"parent": "<unknown>",
"project": {
"uid": "<string>",
"name": "<string>"
}
},
"reference": {
"uid": "<string>",
"type": "JOB"
}
}Jobs to be pre-translated
1 - 100 elementsShow child attributes
LOCKED, NOT_LOCKED If pre-translate settings from project should be used.
If true, preTranslateSettings values are ignored. Default: false
Pre-translate settings
Show child attributes
Was this page helpful?