How can I add a specific segmentation rule in Workbench?
Thread poster: Mohammad Reza Razaghi

Mohammad Reza Razaghi  Identity Verified
Iran
Local time: 16:08
Member (2006)
English to Farsi (Persian)
+ ...
Jan 16, 2010

Hi all,

I am currently working on a huge project in Word format, which also contains HTML codes, such as: "{hr size="1"}", "{font color="red"}", "{br}", etc. (I've replaced the "" characters by "{" or "}" here, otherwise they are not shown correctly).

Many sentences are only separated by a {br} code and therefore some segments become extremely huge in TagEditor! I tried to add a new segmentation rule for {br} in WB to translate each sentence individually, but it didn't work.

What can be done (other than manually shrinking the segments by Ctrl + Alt + Page up)?

BTW, I'm using SDL Trados 2007 (SP2).

Thank you in advance for your input!

Best,

Mohammad Reza


Direct link Reply with quote
 

xxxOlaf
Local time: 13:38
English to German
Use Tag Editor and change the properties of the <BR> tag Jan 16, 2010

You could easily change the behavior of the <BR> tag if you used Tag Editor instead. Word is really ill-suited for the translation of tagged files.

All you'd have to do is change the <BR> tag Element Property Type from Internal to External.

To change the property type:
1. Open Tag Editor.
2. Choose Tag Settings from the Tools Menu.
3. Double-click the Predefined HTML Settings entry
(If the entry doesn't exist you'll need to open HTLM4.INI and add it to the list)
4. Click the Elements tab, scroll-down the list box until you see BR.
5. Double-click the BR entry, change the Type from Internal to External and click OK.

This will make <BR> a segment delimiter.
BTW, you could also modify the behavior of other tags in the same way.

Olaf

[Edited at 2010-01-16 15:23 GMT]


Direct link Reply with quote
 

Adam Łobatiuk  Identity Verified
Poland
Local time: 13:38
Member (2009)
English to Polish
+ ...
Search and replace Jan 16, 2010

Search for <br> in Word and replace it with <br> but with the tw4winExternal style applied. From Word 2003 (or maybe XP) up, you can also use Find to select all instances of a string (<br> in this case) and apply the style from the style drop down list.

I wouldn't recommend changing all the other tags, because that would break your sentences.


Edit: fixed the tag display

[Edited at 2010-01-16 21:06 GMT]

[Edited at 2010-01-16 21:07 GMT]


Direct link Reply with quote
 

Stefan de Boeck  Identity Verified
Belgium
Local time: 13:38
English to Dutch
+ ...
paragraph ends Jan 16, 2010

Adam Łobatiuk wrote:

Search for <br> in Word and replace it with <br> but with the tw4winExternal style applied. From Word 2003 (or maybe XP) up, you can also use Find to select all instances of a string (<br> in this case) and apply the style from the style drop down list.

I wouldn't recommend changing all the other tags, because that would break your sentences.


If this doesn't quite cut it, and while you're at it, you might as well replace <br> by

<br> ¶

-- mind the space between the tag and the paragraph mark (it may matter).

It's possible as well to do some manual 'cutting' of unopened source segments in TE (unprotect document and just start slashing*).

* but, as this is a Word file, probably better not.

[Edited at 2010-01-16 19:36 GMT]


Direct link Reply with quote
 

Mohammad Reza Razaghi  Identity Verified
Iran
Local time: 16:08
Member (2006)
English to Farsi (Persian)
+ ...
TOPIC STARTER
Many thanks! Jan 18, 2010

Thank you Olaf, Adam and Stefan!

I will try your useful solutions.


Cheers!

Mohammad Reza


Direct link Reply with quote
 


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


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

How can I add a specific segmentation rule in Workbench?

Advanced search







SDL Trados Studio 2017 Freelance
The leading translation software used by over 250,000 translators.

SDL Trados Studio 2017 helps translators increase translation productivity whilst ensuring quality. Combining translation memory, terminology management and machine translation in one simple and easy-to-use environment.

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