How to do find/replace with fonted text in MS Word
Samuel Murray Netherlands Local time: 21:20 Member (2006) English to Afrikaans + ...
Oct 28, 2011
G'day everyone
I must proofread an MS Word file in which the text occur in three fonts.
Text that the translator should not have translated, is in Verdana. Source text that the translator should have translated, is in Tahoma, and the translator had typed the translation next to the source text in Courier.
Sometimes two source text sentences are followed by two translated sentences, but mostly the translation was done on a per-sentence basis. There is never any other text (e.g. in another font, including Verdana) between a source text piece and a translation of it.
I want to proofread this in my CAT tool (WFC), so I need to convert this:
Some text in Verdana here. Some text in Tahoma here. Some text in Courier here. Some text in Verdana here.
into this:
Some text in Verdana here. {0>Some text in Tahoma here. <}0{>Some text in Courier here<0}. Some text in Verdana here.
I can mark the Verdana text as non-translatable easily, so that's not a problem.
Can anyone think of a strategy to do this? If the file was simple, I would have round-tripped via HTML, but the file is rather complex (lots of tables and stuff, though fortunately no text boxes). Conversion to OpenOffice.org seems like a possibility (I know that OOo has better regex in some ways than MS Word).
Thanks
Samuel
Subject:
Comment:
The contents of this post will automatically be included in the ticket generated. Please add any additional comments or explanation (optional)
Samuel Murray Netherlands Local time: 21:20 Member (2006) English to Afrikaans + ...
TOPIC STARTER
Right now...
Oct 28, 2011
Samuel Murray wrote:
Can anyone think of a strategy to do this?
Repeat (2.) until no further results are found. This causes there to be a # at the very start and very end of all Tahoma text.
Subject:
Comment:
The contents of this post will automatically be included in the ticket generated. Please add any additional comments or explanation (optional)
István Hirsch Hungary Local time: 21:20 English to Hungarian
Try something like this in Word
Oct 29, 2011
It works for this simple text, but may not work exactly in this form for a structurally formatted text.
I do not know WFC.
Perhaps the correct formula will depend on the font of the space separating the sentences (whether it belongs to the previous or the next font?).
Check wildcard checkbox.
Find:
(*.) Format/character: Tahoma
Replace with:
{>0\1>}0{>
Translation Office 3000 is an advanced accounting tool for freelance translators and small agencies. TO3000 easily and seamlessly integrates with the business life of professional freelance translators.
SDL Trados Studio 2011 Starter Edition is the new low cost entry-level version of the leading translation memory software. This version is ideal for part-time translators and is a subscription based product. Follow the link to buy or learn more.