Mobile menu

Change Segmentation Rules -- \n ends sentence
Thread poster: Jalapeno
Jalapeno
Local time: 01:33
English to German
Dec 14, 2005

Hi everyone,

I wonder if one of you Trados wizards can help me.

I have a text that is full of strings such as this one:

"Deals a superior amount of damage to an enemy \n Left click icon then left click on target"

Trados takes this as one segment. The TM provided by my client, however, contains the same text as two segments:

1. "Deals a superior amount of damage to an enemy"

2. "Left click icon then left click on target"

I'm trying to change the segmentation rules so that Trados divides the text the way it is divided in the existing TM. So far, I get it to split the text in two parts, but the \n is considered part of the first segment. How can I manage to exclude the \n and just have two segments?

Any help much appreciated.


Direct link Reply with quote
 

Jabberwock  Identity Verified
Poland
Local time: 01:33
Member (2004)
English to Polish
Maybe substitution... Dec 14, 2005

What I would do is to substitute the \n sequence with something which would not be recognized as text by Trados (for example, you your translation does not have tabs, with a tab). Then, after the cleanup, I would replace the substitution sequence back to \n.

Direct link Reply with quote
 

Jerzy Czopik  Identity Verified
Germany
Local time: 01:33
Member (2003)
Polish to German
+ ...
Format all "\n" as external TAG Dec 14, 2005

To do so, use "search & replace" in Word.
Search for \n and replace it by \n with the style "tw4winexternal".
Trados should then stop at this TAG.

Good luck
Jerzy

PS
Just testet that: it works!
After the translation you simply need to delete the tw4winexternal style, then all \n will become normal again - so you need to search and replace only at the beginning.

[Edited at 2005-12-14 18:31]


Direct link Reply with quote
 
Jalapeno
Local time: 01:33
English to German
TOPIC STARTER
Thanks Dec 14, 2005

Thanks, Jerzy, that worked just fine. Let's hope I manage to go back to the old style once I'm finished with the translation...

Direct link Reply with quote
 

Jerzy Czopik  Identity Verified
Germany
Local time: 01:33
Member (2003)
Polish to German
+ ...
As already stated above Dec 14, 2005

simply delete the "tw4winexternal" style after your translation is finished and all \n will get back to their previous style (they take the style from the paragraph style of the neighbour text). Unless your Word file is very sophisticated formatted, this will work. Should those "\n" have a special style, so simply note it down and than replace back again.

Best
Jerzy


Direct link Reply with quote
 
Jalapeno
Local time: 01:33
English to German
TOPIC STARTER
Thanks again... Dec 15, 2005

Thanks again, Jerzy. Deleting the style worked just fine. Your note about deleting the style hadn't been posted yet when I posted my last message.

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 »

Change Segmentation Rules -- \n ends sentence

Advanced search


Translation news related to SDL Trados





SDL MultiTerm 2017
Guarantee a unified, consistent and high-quality translation with terminology software by the industry leaders.

SDL MultiTerm 2017 allows translators to create one central location to store and manage multilingual terminology, and with SDL MultiTerm Extract 2017 you can automatically create term lists from your existing documentation to save time.

More info »
Déjà Vu X3
Try it, Love it

Find out why Déjà Vu is today the most flexible, customizable and user-friendly tool on the market. See the brand new features in action: *Completely redesigned user interface *Live Preview *Inline spell checking *Inline

More info »



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