Stripping trailing whitespaces from target?

My translation segments are coming from HTML, where precision is important. However, translation is often done by people unaware of various pitfalls. I would like to remove double spaces, trailing spaces, replace triple periods with ellipses, etc., prior to saving the segment to the TM. With the current Search/Replace tool in Desktop Workbench I can't even remove the trailing spaces efficiently. I wonder if:

1. Regexp handling (or some variation of it) is planned/considered as a function in Search/Replace tool?

2. Custom segment handling is possible before saving the segment/asset to the TM bank?

3. Automatic processing (running a set of search/replace patterns on the segment) of saved TM entries is possible to handle past errors?

4. Are there any tools in existence or API to write a new ones to achieve 1, 2 and 3?

Parents
  • Desktop Workbench... are you serious?  This tool was discontinued years ago so there are no plans to do anything with that at all!  But a few answers wrt Studio:

    Unknown said:
    1. Regexp handling (or some variation of it) is planned/considered as a function in Search/Replace tool?

    Already part of the product, and available within an external app on the OpenExchange called the SDLXLIFF Toolkit.

    Unknown said:
    2. Custom segment handling is possible before saving the segment/asset to the TM bank?

    Create a QA rule to identify these problems as you work, then you can correct them in realtime.

    Unknown said:
    3. Automatic processing (running a set of search/replace patterns on the segment) of saved TM entries is possible to handle past errors?

    You can run batch rules on a TM, but it's not as sophisticated as the capability in the Editor.

    Unknown said:
    4. Are there any tools in existence or API to write a new ones to achieve 1, 2 and 3?

    There are a few TM Maintenance tools on the OpenExchange, and one or two allow SQL statements to be run which might help... but probably not exactly what you want.  There are APIs freely available that would allow you to do many things relating to how you would handle this, and a developer community if you need help.

    Regards

    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

Reply
  • Desktop Workbench... are you serious?  This tool was discontinued years ago so there are no plans to do anything with that at all!  But a few answers wrt Studio:

    Unknown said:
    1. Regexp handling (or some variation of it) is planned/considered as a function in Search/Replace tool?

    Already part of the product, and available within an external app on the OpenExchange called the SDLXLIFF Toolkit.

    Unknown said:
    2. Custom segment handling is possible before saving the segment/asset to the TM bank?

    Create a QA rule to identify these problems as you work, then you can correct them in realtime.

    Unknown said:
    3. Automatic processing (running a set of search/replace patterns on the segment) of saved TM entries is possible to handle past errors?

    You can run batch rules on a TM, but it's not as sophisticated as the capability in the Editor.

    Unknown said:
    4. Are there any tools in existence or API to write a new ones to achieve 1, 2 and 3?

    There are a few TM Maintenance tools on the OpenExchange, and one or two allow SQL statements to be run which might help... but probably not exactly what you want.  There are APIs freely available that would allow you to do many things relating to how you would handle this, and a developer community if you need help.

    Regards

    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

Children
No Data