Any way putting numbers in brackets (1) (2) into codes?
Thread poster: Matthias Brombach

Matthias Brombach  Identity Verified
Germany
Local time: 14:49
Member (2007)
English to German
+ ...
Oct 29, 2013

Dear colleagues,

as a translator of technical subjects (like the most of you, I suppose) I am often confronted with paragraphs describing components which can be referred to in drawings, i.e.

"Monteer aan de eerste of laatste wandhouder (22) de nylonband (13) met behulp van een lus en 2 gespen (26)."

Because I already suffer of tendinitis I am looking for a way how DV could convert all the number in brackets into codes. Unfortunately I cannot put them into the termbank, as an alternative.
Any suggestions? Thanks!

Best regards,

Matthias


Direct link Reply with quote
 

Grzegorz Gryc  Identity Verified
Local time: 14:49
French to Polish
+ ...
Prreprocessing... Oct 30, 2013

Matthias Brombach wrote:

as a translator of technical subjects (like the most of you, I suppose) I am often confronted with paragraphs describing components which can be referred to in drawings, i.e.
"Monteer aan de eerste of laatste wandhouder (22) de nylonband (13) met behulp van een lus en 2 gespen (26)."
Because I already suffer of tendinitis I am looking for a way how DV could convert all the number in brackets into codes.

You can preprocess your files in Trados Workbench + Word (or Wordfast Classic) and use S&R in order to tag (1)-like strings as tw4winInternal.
Of course, it works only for Word documents...

Unfortunately I cannot put them into the termbank, as an alternative.

The numerals will not work in the TB.

Cheers
GG

[Edited at 2013-10-30 02:03 GMT]


Direct link Reply with quote
 
David Turner  Identity Verified
Local time: 14:49
French to English
+ ...
Or, assuming Word files... Oct 30, 2013

...do a wildcard S&R, to set (1), (20), etc. to hidden text:

Search:
\([0-9]@\)
Replace:
leave blank
Format/Character: check "Hidden"
Wildcards on

Import into DV checking "Ignore hidden text"
(1), (20), etc. will then appear as codes in the source


Direct link Reply with quote
 

Matthias Brombach  Identity Verified
Germany
Local time: 14:49
Member (2007)
English to German
+ ...
TOPIC STARTER
Thank you for your suggestions... Nov 1, 2013

...but I mostly process xliff-type files in DV, so your ideas won´t work for me.

Best regards,

Matthias


Direct link Reply with quote
 
David Turner  Identity Verified
Local time: 14:49
French to English
+ ...
In that case, ... Nov 1, 2013

... I don't think there's a solution, other than pre-processing in SDL Studio.

I was going to suggest that a better solution, for docx files, would be to use the "Ignore Regex matches" option in the input filter (Properties):

Enter:

\([0-9]+\)

in the space to the right of "Ignore Regex matches" and numbers between parentheses will appear as codes. You can save this option in the filter.

I think you can also do this in SDL Studio.


Direct link Reply with quote
 


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

Moderator(s) of this forum
Pavel Tsvetkov[Call to this topic]

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

Any way putting numbers in brackets (1) (2) into codes?

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 »
WordFinder
The words you want Anywhere, Anytime

WordFinder is the market's fastest and easiest way of finding the right word, term, translation or synonym in one or more dictionaries. In our assortment you can choose among more than 120 dictionaries in 15 languages from leading publishers.

More info »



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