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

Anthony Rudd

Local time: 17:12
German to English
+ ...
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:12
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


Gusztáv Jánvári
 

Tomás Cano Binder, BA, CT  Identity Verified
Spain
Local time: 17:12
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:12
German to English
+ ...
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:12
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






BaccS – Business Accounting Software
Modern desktop project management for freelance translators

BaccS makes it easy for translators to manage their projects, schedule tasks, create invoices, and view highly customizable reports. User-friendly, ProZ.com integration, community-driven development – a few reasons BaccS is trusted by translators!

More info »
Protemos translation business management system
Create your account in minutes, and start working! 3-month trial for agencies, and free for freelancers!

The system lets you keep client/vendor database, with contacts and rates, manage projects and assign jobs to vendors, issue invoices, track payments, store and manage project files, generate business reports on turnover profit per client/manager etc.

More info »



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