Replace empty target segments with a space?

We really like the new filtering option introduced in 2021 (and also in the Community advanced display filter for 2019). But there is one thing that we haven’t discovered how to do and that we often need to do: Filter after empty segments. Is there any way to do that? And ideally also insert a specific content (e.g, a space) into all segments that correspond to your filtering.

Parents
  • Typically empty segments would be "Not Translated":

    Trados Studio interface showing two segments with 'Not Translated' status and a search bar with regex '$' entered.

    So easily filtered.  But sometimes they may be empty and not have the status "Not Translated" in which case it now becomes trickier.  So here you could search for a regex like this in the target:

    ^$

    Trados Studio interface with a 'Replace' dialog box open, showing an empty 'Search for' field and 'Replace with' field containing a space.

    So also not too tricky.

    And ideally also insert a specific content (e.g, a space) into all segments that correspond to your filtering.

    That should be simple... or so I thought.  But it's actually not simple because you can't replace the results of a search that finds nothing, with something.

    So I have a question here... why is this important?

    Tagging two people I'm pretty sure mentioned this in the past...

    Paul Filkin | 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 3:46 AM (GMT 0) on 5 Mar 2024]
Reply
  • Typically empty segments would be "Not Translated":

    Trados Studio interface showing two segments with 'Not Translated' status and a search bar with regex '$' entered.

    So easily filtered.  But sometimes they may be empty and not have the status "Not Translated" in which case it now becomes trickier.  So here you could search for a regex like this in the target:

    ^$

    Trados Studio interface with a 'Replace' dialog box open, showing an empty 'Search for' field and 'Replace with' field containing a space.

    So also not too tricky.

    And ideally also insert a specific content (e.g, a space) into all segments that correspond to your filtering.

    That should be simple... or so I thought.  But it's actually not simple because you can't replace the results of a search that finds nothing, with something.

    So I have a question here... why is this important?

    Tagging two people I'm pretty sure mentioned this in the past...

    Paul Filkin | 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 3:46 AM (GMT 0) on 5 Mar 2024]
Children