How to delete TUs in a TM that do not contain custom field values?

Hi!

I am currently working with a sizeable translation memory (around 600 000 TUs in total). TUs should ideally have a previously specified set of custom field values (e.g. name of the translator, date of translation, language pair etc.) However, in case of some TUs, the field values have been left blank and I would need to delete these from the TM. The TM is too big to do this manually within a reasonable time, so my question is the following: Is there any way to look for TUs where the field values are missing (e.g. with the help of filters)? 

Any leads would be very much appreciated!

emoji
  • Hi  ,

    I can understand that trying to manage a great amount of TUs may be daunting, as it can be quite time-consuming.

    Luckily, there is the option to filter for these fields, so you can isolate them and create a new TM to import them into or delete them, as you wish.

    For this go to Translation Memories view, open up the TM and you can see at the right side 2 fields: System fields and Custom fields:

    Trados Studio Translation Memories view showing Custom Fields with values 'Client A, Client B' and System Fields with creation and modification details.

    The system fields ( date, first created, last modified, etc) should never be empty, the info comes from the system so we don't need to do anything there.

    For Custom fields, I imagine you already have them customized, like in the image above. To filter these ones, you need to create a filter to get only the TUs with custom fields, shown below:

    Trados Studio TM Filter named 'Client A' with an 'Add Condition' dialog box open, showing 'Client' field with 'Equal to' operator and values 'Client A, Client B' checked.

    So add a new filter, give it a name- in my case, the filter name is Client A,- and the filter I created was to equal the custom field values, such as Client A, Client B already existing and created by the client or project manager.

    After it's saved that condition, you can hit "Perform Search" so that the hits returned would match only the custom fields added to the condition:

    Trados Studio search results with a NOT condition applied, showing Translation Units without 'Client A, Client B' in the Custom Fields.

    With the above condition, you'll get the results to include the custom fields only.

    However, if you tick the "NOT" in the condition, and hit again, you'll get the reverse, so you 'll see the units with no info. Like this, you can select them and mark them for deletion:

    Trados Studio interface with a Translation Unit selected and a red arrow pointing to the 'Mark TU for Deletion' option in the toolbar.

    Before doing so, I would recommend creating a filter to play and experiment with it, make sure you're happy with the results.

    Hope it helps?

    Regards,

    Oana

    Oana Nagy | RWS Group

    _____________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

    emoji


    Generated Image Alt-Text
    [edited by: Trados AI at 10:54 AM (GMT 0) on 29 Feb 2024]