Is it possible to do a global replace on locked segments?
Thread poster: Anthony Rudd

Anthony Rudd

Local time: 17:55
Jun 6

Many of my projects have a large number of XLT segments, often with inconsistent translations.
Is it possible to do a global replace on locked segments without unlocking all segments (because this may have unwanted side effects)? An individual unlock of each segment is tedious.


 

Anthony Green  Identity Verified
Italy
Local time: 17:55
Italian to English
+ ...
yes, with a little workaround Jun 6

Make a view of all locked segments
Unlock all of the segments in the view
Make any necessary changes
Lock all segments in the view
Delete the view


 

Tomás Cano Binder, BA, CT  Identity Verified
Spain
Local time: 17:55
Member (2005)
English to Spanish
+ ...
What I do Jun 6

Yes, I know this situation and have it quite often as a result of pretranslation done by customers with a defective memory. Unfortunately I haven't found a way to do Find/Replace on locked segments. You have to unlock them first.

Now, what I do in these situations is:
1. (If you have more than one file) Create a view with the files (simply gluing them together).
2. Open the file/view in the grid. Use the filter boxes in the grid to filter by the source term/phrase and its corresponding bad target term/phrase (you might want to enclose phrases in quote marks to filter for that exact phrase).
3. Use the funnel filter function to filter by Locked segments.

This yields a list with the offending locked segments; you can then select all, unlock all (Ctrl-Shift-L), do your Find/Replace, which changes the status of the segments to Edited, confirm all, then lock again (Ctrl-Shift-L once more). Now the result should be that all incorrect segments are corrected, and you have not unlocked other segments that should stay unchanged.

I hope this helps a bit!


 

Anthony Rudd

Local time: 17:55
TOPIC STARTER
Global replace Jun 6

Thanks, I had hoped that there as some "secret" switch that, in effect, temporarily overrid the locking.

 

Anthony Green  Identity Verified
Italy
Local time: 17:55
Italian to English
+ ...
it wouldn't really be locked would it? Jun 7

Anthony Rudd wrote:

Thanks, I had hoped that there as some "secret" switch that, in effect, temporarily overrid the locking.


The solutions which Tomas and I suggest are two very similar ways of temporarily unlocking the segments but as in any locked object, you don't want to make it too easy to break in. If you want a one-stop way of doing this over and over again, you could write an Autohotkey script, but I think you'll find either of these methods will take you thirty seconds to implement once you get used to picking memoQ's locks


 


To report site rules violations or get help, contact a site moderator:


You can also contact site staff by submitting a support request »

Is it possible to do a global replace on locked segments?

Advanced search






PerfectIt consistency checker
Faster Checking, Greater Accuracy

PerfectIt helps deliver error-free documents. It improves consistency, ensures quality and helps to enforce style guides. It’s a powerful tool for pro users, and comes with the assurance of a 30-day money back guarantee.

More info »
CafeTran Espresso
You've never met a CAT tool this clever!

Translate faster & easier, using a sophisticated CAT tool built by a translator / developer. Accept jobs from clients who use SDL Trados, MemoQ, Wordfast & major CAT tools. Download and start using CafeTran Espresso -- for free

More info »



Forums
  • All of ProZ.com
  • Term search
  • Jobs
  • Forums
  • Multiple search