How to recreate a bilingual SDLXLIFF file in Trados Studio
000001671|4/9/2021 8:58 AM
Trados Studio 2021
Trados Studio 2019
Trados Studio 2017
Trados Studio 2015
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.
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:
Open the problematic bilingual (*.sdlxliff) file in the Editor view and select Project Settings.
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:
Go to Home > Batch Tasks > Update Main Translation Memories and follow the wizard. The translation memory will be updated against the bilingual file.
Open the initial source file in the Editor view by going to File > Open > Translate Single Document.
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.
Click File > Save.
Click File > Batch Tasks > Pre-translate Files.
Reopen the bilingual SDLXLIFF file you just created and save the target file.
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.