Automating translation job creation through API
Automating translation job creation through API.
The following algorithm can guide you in creating a new translation job.
- Create or Update translation job in the Content Manager system.
- To get Translation Template lookup values, call
TranslationTemplate25.Retrieve. Languages/Workflows from psOutXMLTranslationTemplateList returned by the call limit the target languages and workflows that can be used with the given template. - Call
TranslationJob25.CreateTranslationJoborTranslationJob25.UpdateTranslationJob, passing:- Metadata of the job.
- Value of the
FISHTRANSJOBTYPEdepends on the type of the selected template. - Initial status should be
VTRANSJOBSTATUSDEFINITION. - For re-translation set
FISHTRANSJOBRETRANSLtoYES.
- Value of the
- Translation job containers, referencing the items that have to be translated. Typically, you add all the publications that you want to translate (or re-translate) together.
- Translation job workflows and languages, the subset of the values returned by
TranslationTemplate25.Retrieve.
- Metadata of the job.
- Call
TranslationJob25.UpdateTranslationJob3to move the translation job toVTRANSJOBSTATUSREADYFORTRANSLATION.
- To get Translation Template lookup values, call