Trados Cloud API - Machine Translation - target segments empty

Hello,

Machine Translation output is not added in the target language segments using Trados Cloud API.

The project is created with success, no error. The machine translation step runs. But when we open the Project online, the machine translation output is not inserted in the target language segments.The target segments stay empty (or source is copied into the target).

The translation engine (DeepL)  is well defined in the template and the machine translation step in the workflow too.

Also, when creating the project online without API, the machine translation outpout is well inserted in the target segment.

Could you please help us here? 

Thank you in advance.

Best,

Brigitte

{
      "id":"6830623d4674622f6fdce787",
      "status":"skipped",
      "taskType":
      {
        "id":"65008e68af67012db01785a1",
        "key":"apply-machine-translation",
        "name":"Machine Translation",
        "automatic":true,
        "scope":"file"
      },
      "input":
      {
        "type":"targetFile",
        "targetFile":
        {
          "id":"6830623b872f877697949d55",
          "name":"file.docx",
          "languageDirection":
          {
            "sourceLanguage":
            {
              "languageCode":"en-GB",
              "englishName":"English (United Kingdom)"
            },
            "targetLanguage":
            {
              "languageCode":"fr-FR",
              "englishName":"French (France)"
            },
            "id":"683062306462aa45c4d61d20"
          }
        }
      },
      "inputFiles":
      [

      ],
      "assignees":
      [

      ],
      "createdAt":"2025-05-23T11:55:40.874Z",
      "failedTask":
      {
        "errors":
        [
          {
            "name":"engineId",
            "code":"empty",
            "value":"en_fr_NEURAL_True"
          }
        ]
      }
    }

Parents
  • Hi  , We are unable to reproduce the scenario. When we tried, it successfully filled target segments. 

    Please provide more details (step by step) to reproduce the scenario so that we can help you further. 

    Thanks!

  •  

      

    Hi Harjeet, thank you for your response. When creating the project online there are no issue using the same template, it happens only when using the API. 

    1. From the project creation window, we type in the name the project
    2. Then we choose the appropriate template (list of templates matches those in Trados Team)
    3. Then click OK to create the project
    4. The various steps of project creation in Trados Team appear, including Machine Translation as per the selected Project template
    5. And then when checking in Trados Team, NMT is not applied

  •  

    Hi Harjeet, 

    Please find below more details on the steps. I hope this helps. We really need to resolve this issue quickly.

    {
      "name":"2176248",
      "location":"d483666e380e412db6edea1f82c90d4f",
      "dueBy":"2025-06-10T12:30:02.213Z",
      "projectTemplate":
      {
        "id":"6749d65cacd10538233da6ec"
      },
      "languageDirections":
      [
        {
          "sourceLanguage":
          {
            "languageCode":"EN-GB"
          },
          "targetLanguage":
          {
            "languageCode":"FR-FR"
          }
        }
      ],
      "projectManagers":
      [
        {
          "id":"65008d0c845e401182eff831",
          "type":"user"
        }
      ]
    }

    Response: 201

     

    {
    "id":"6848254b5c257855dcaa75f0",
    "name":"2176248",
    "languageDirections":
    [
    {
      "sourceLanguage":
      {
       "languageCode":"en-GB",
       "englishName":"English (United Kingdom)"
      },
      "targetLanguage":
      {
       "languageCode":"fr-FR",
       "englishName":"French (France)"
      },
      "id":"6848254a5c257855dcaa75ee"
    }
    ],
    "location":
    {
    "id":"d483666e380e412db6edea1f82c90d4f",
    "name":"xxxxxx"
    }
    }

     

    {
    "name":"document2.docx",
    "role":"translatable",
    "type":"native",
    "language":"EN-GB",
    "targetLanguages":
    [
    "FR-FR"
    ]
    }

    Response: 201

     

    {
    "id":"684825da75e6065ca90596f5",
    "name":"document2.docx",
    "role":"translatable"
    }

     

     

Reply
  •  

    Hi Harjeet, 

    Please find below more details on the steps. I hope this helps. We really need to resolve this issue quickly.

    {
      "name":"2176248",
      "location":"d483666e380e412db6edea1f82c90d4f",
      "dueBy":"2025-06-10T12:30:02.213Z",
      "projectTemplate":
      {
        "id":"6749d65cacd10538233da6ec"
      },
      "languageDirections":
      [
        {
          "sourceLanguage":
          {
            "languageCode":"EN-GB"
          },
          "targetLanguage":
          {
            "languageCode":"FR-FR"
          }
        }
      ],
      "projectManagers":
      [
        {
          "id":"65008d0c845e401182eff831",
          "type":"user"
        }
      ]
    }

    Response: 201

     

    {
    "id":"6848254b5c257855dcaa75f0",
    "name":"2176248",
    "languageDirections":
    [
    {
      "sourceLanguage":
      {
       "languageCode":"en-GB",
       "englishName":"English (United Kingdom)"
      },
      "targetLanguage":
      {
       "languageCode":"fr-FR",
       "englishName":"French (France)"
      },
      "id":"6848254a5c257855dcaa75ee"
    }
    ],
    "location":
    {
    "id":"d483666e380e412db6edea1f82c90d4f",
    "name":"xxxxxx"
    }
    }

     

    {
    "name":"document2.docx",
    "role":"translatable",
    "type":"native",
    "language":"EN-GB",
    "targetLanguages":
    [
    "FR-FR"
    ]
    }

    Response: 201

     

    {
    "id":"684825da75e6065ca90596f5",
    "name":"document2.docx",
    "role":"translatable"
    }

     

     

Children