Salesforce

How to recreate a bilingual SDLXLIFF file in Trados Studio

« Go Back

Information

 
Article TypeSolution Article
Scope/EnvironmentTrados Studio 2021
Trados Studio 2019
Trados Studio 2017
Trados Studio 2015
Symptoms/Context
You are working in Trados Studio and have problems saving your target file after translation. This article will provide you with some useful suggestions on how to troubleshoot this problem.

You may want to recreate your file/project for other reasons as well (e.g. you want to use different settings, extract only part of the content for translation, etc.). In this case you can skip straight to the video below, or to steps 1 to 7. 
Resolution

To identify whether your bilingual is corrupt:

A. Make sure this is not an issue with your translation: 

  • Open the problematic SDLXLIFF file in the Editor view.
  • Go to File > Advanced Save > Save Source As
  • Enter a name different from the original name of your source file and click Save.

If this succeeds, your bilingual file itself file is not corrupt. Most likely, your translation causes the issue. 

B. Make sure this is not an issue with your source file:

  • Make a copy of your source file
  • Go to File > Translate Single Document
  • Open the copy create in step 1 for translation
  • Go to File > Save Target As

If saving the target file fails, do not follow the steps from the Resolution section. Instead, you can troubleshoot further by following instructions from KB article: How to reverse TM language direction.

If step A fails, but step B succeeds, the bilingual file got damaged at some stage and needs to be recreated. 

To obtain the target file, recreate your bilingual file by following the steps below or watching the video:

  1. Open the problematic bilingual (*.sdlxliff) file in the Editor view and select Project Settings.
  2. Under Language Pairs > All Language Pairs > Translation Memory and Automated Translation > Create > New File-based Translation Memory, follow the wizard to create a new translation memory:

    User-added image

     

  3. Go to Home Batch Tasks > Update Main Translation Memories and go through the wizard. The translation memory will be updated with the translations from the bilingual file.
  4. Open the initial source file in the Editor view by going to File > Open > Translate Single Document.
  5. Go to Home Project Settings Language Pairs > All Language Pairs > Translation Memory and Automated Translation > Add > File-based Translation Memory and browse for the translation memory updated in step 3.
  6. Click File > Save.
  7. Click File > Batch Tasks > Pre-translate Files and go through the wizard.
  8. Reopen the bilingual SDLXLIFF file you just created and save the target file.

You can also create a new project based on your existing one. For further details, please see: How can I recreate a project in Trados Studio based on an existing project?
Root Cause
Occasionally, your bilingual SDLXLIFF file gets corrupted during translation. This can happen if Studio is closed down incorrectly, without saving and exiting the translation properly, or if you are using an external drive and lose connectivity to the file when working.
Reference
Attachment 1 
Attachment 2 
Attachment 3 
Attachment 4 
Attachment 5 

Powered by