I often find myself doing multiple search & replace of the same words again and again in pre-translated segments and I'm thinking there's got to be a way to automate that somewhow, perhaps using a script. Any ideas?
I often find myself doing multiple search & replace of the same words again and again in pre-translated segments and I'm thinking there's got to be a way to automate that somewhow, perhaps using a script. Any ideas?
Hello,
Absolutely, Trados Studio has a feature that can help you with this. It's called "MultiTerm Replace" and it allows you to replace multiple terms in one go. Here's how you can use it:
Step 1: Open your project in Trados Studio.
Step 2: Go to the "Review" tab.
Step 3: Click on "Search" in the "Editing" group.
Step 4: In the "Search" dialog box, click on the "Replace" tab.
Step 5: Enter the term you want to find in the "Search for" box.
Step 6: Enter the term you want to replace it with in the "Replace with" box.
Step 7: Click on "Add to List". This will add the pair to the list of terms to be replaced.
Step 8: Repeat steps 5 to 7 for all the terms you want to replace.
Step 9: Once you've added all the terms, click on "Replace All".
This will replace all instances of the terms in the list throughout your project. Please note that this feature is case-sensitive, so make sure to enter the terms exactly as they appear in your text.
I hope this helps! If you have any other questions, feel free to ask.
Best regards,
RWS Community AI
Excuse me, say what?!
I'm not seeing "Editing" in the Review tab, but I do have it in my Home tab:
I'm not seeing "Search", and Find and Replace simply open the normal Find/Replace window:
Not seeing an "Add to list" option here.
Can someone help me out? It sounds like an interesting feature.
Yes... I think this is a good example of the TradosAI hallucinating a little!
I reckon the best way to tackle this wold be with an AutoHotkey Script as you could then easily edit the list whenever you needed and trigger the search & replace to either work with a shortcut against a segment, or even via the standard replace all dialogue... although this would be asynchronous and possibly a little slow. But still better than a manual chore.
Otherwise it would make a neat plugin. That would be the fastest and most reliable way to handle it. There did used o be something like this on the appstore but the developer charged for it, and also stopped supporting it quite some years ago. I actually don't think it would be that difficult to do either... if a developer has time and motivation to do it :-)
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
Thanks for the reassurance!
Would a script like that would maybe work directly in the pretranslated sdlxlff files themselves, say in a text editor? Or would that corrupt the file?
Thanks for the reassurance!
Would a script like that would maybe work directly in the pretranslated sdlxlff files themselves, say in a text editor? Or would that corrupt the file?
Would a script like that would maybe work directly in the pretranslated sdlxlff files themselves, say in a text editor?
Yes... it's only a text file so you can edit an sdlxliff as you like.
Or would that corrupt the file?
Only if you break the integrity of the sdlxliff. So typically we never recommend editing the sdlxliff files directly since there are no controls managing what you can and cannot do. But if you're careful, and know what you're doing, then anything is possible.
But I'll stress... it's not recommended! Much better to use the API and then you are less likely to break things
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