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

Mohammad Reza Razaghi  Identity Verified
Iran
Local time: 19:21
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.icon_frown.gif

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


 

Olaf (X)
Local time: 16:51
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]


 

Adam Łobatiuk  Identity Verified
Poland
Local time: 16:51
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]


 

Stefan de Boeck (X)  Identity Verified
Belgium
Local time: 16:51
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]


 

Mohammad Reza Razaghi  Identity Verified
Iran
Local time: 19:21
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


 


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







Anycount & Translation Office 3000
Translation Office 3000

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.

More info »
WordFinder Unlimited
For clarity and excellence

WordFinder is the leading dictionary service that gives you the words you want anywhere, anytime. Access 260+ dictionaries from the world's leading dictionary publishers in virtually any device. Find the right word anywhere, anytime - online or offline.

More info »



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