How to Batch Edit Translation Units

This topic describes how to perform a batch edit on a translation memory. You maintain translation memories in the Translation Memories view.

 

NOTE

Changes made by a batch edit are automatically committed and cannot be canceled.

Before You Start

  1. In the Translation Memories view, if the translation memory you want to edit is not in the navigation tree, open the translation memory (select File > Open > Translation Memory from the menu bar).

  2. If you want to edit a set of translation units (not the entire translation memory), the filter that will select the translation units must exist before you start the Batch Edit wizard. Click here to find out how to create a filter.

 

To batch edit a translation memory.

  1. In the Translation Memories view, make the translation memory for which you want to batch edit translation units the active translation memory.

  2. Select File > Batch Edit from the menu bar (or you can right-click the translation memory and select Batch Edit from the shortcut menu). The Batch Edit wizard is displayed on the Batch Edit Script page.

If

Then

you want to use a batch edit script that was previously saved to a file,

click Load, the Open TM Batch Edit Script dialog box is displayed. Browse to the file, select it and click Open. The settings stored in the file are loaded into the Batch Edit Script page. You can either:

  • Edit the settings before performing the batch edit, or

  • Perform the batch edit using the settings as they are. If you choose this option, go to step 6.

  1. Specify how you want to apply the batch edit:

If

Then

you do not want to apply the edit to the entire translation memory,

select a filter that identifies the translation units you want to edit.

you want all of the edit actions to be applied to matching translation units,

select Always execute all edit actions in the list for each TU in the Continuation box.

after applying one edit to a translation unit, you do not want further edits to be made to the same translation unit,

select Only allow one edit action to change each TU in the Continuation box.

  1. Click Add and select the type of edit you want to perform:

If

Then

you choose Find and Replace Text,

the Edit Action: Find and Replace Text dialog box is displayed. Complete this dialog box and click OK to add the edit action to the list in the Action box.

you choose Change Field Values,

the Edit Action: Change Field Value dialog box is displayed. Complete this dialog box and click OK to add the edit action to the list in the Action box.

you choose Delete Field Values,

the Edit Action: Delete Field Value dialog box is displayed. Complete this dialog box and click OK to add the edit action to the list in the Action box.

you choose Delete Tags

the Edit Action: Delete Tags dialog box is displayed. Complete this dialog box and click OK to add the edit action to the list in the Action box.

  1. Repeat step 4 until all of the required edit actions have been added to the Action box.

  2. If the actions need to be applied in a particular order, use the Move Up and Move Down buttons to put the actions into the required order.

  1. If you want to save this batch edit script to a file, click Save and complete the Save TM Batch Edit Script dialog box.

  2. Click Finish. SDL Trados Studio starts editing translation units and the Applying Batch Edit Script page is displayed.

  3. When the batch edit is complete, click Close to close the wizard.

  4. If the batch edit has produced errors, click Show Error Details to view the error details.

 

NOTE

If you start the batch edit and then click Cancel before it has finished, any translation units that have already been edited, will not be reverted back to their pre-edit state.

 

 

Related Topics

About Batch Editing and Deleting

How to Batch Delete Translation Units