Documentation Center

Automating translation job creation through API

Automating translation job creation through API.

The following algorithm can guide you in creating a new translation job.
  1. Create or Update translation job in the Content Manager system.
    1. 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.
    2. Call TranslationJob25.CreateTranslationJob or TranslationJob25.UpdateTranslationJob, passing:
      • Metadata of the job.
        • Value of the FISHTRANSJOBTYPE depends on the type of the selected template.
        • Initial status should be VTRANSJOBSTATUSDEFINITION.
        • For re-translation set FISHTRANSJOBRETRANSL to YES.
      • 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.
    3. Call TranslationJob25.UpdateTranslationJob3 to move the translation job to VTRANSJOBSTATUSREADYFORTRANSLATION.