\r\n style line feeds/breaks

Is there a way of making Trados interpret \r\n type line breaks as line breaks, rather than as words?


Developers seem to be really bad at handing off stuff for translations with that kind of formatting. The problem is that it's most common in fairly long chunks of text, like marketing stuff about software. Because Trados interprets them as text, when you have something like

This exciting new tool lets you:\r\nOpen files\r\nView documents\r\nMake coffee\r\nChannel Elvis

Trados interprets this as one long string or (depending on the punctuation) segments this in strange places. As a result, even though I might have 4 matches for the 4 above, I get zero matches from Trados because I don't have the whole string in the TM in its entirety.

Parents Reply
  • Hi Nora, Paul, Walter and Michael,
    I've tested your testfiles and I get everything fine.
    I work with Studio 12.0.4996.3 and MS Word 2010 (14.0.7166.5000 , 32 bit).

    I also took a look inside the docx you sent:
    = unpacked the docx and looked for the document.xml, this is the file where the strings are:

    in Noras file, everything is fine,

    here the code part where the text is
    <w:t>This exciting new tool lets you:\r\nOpen files\r\nView documents\r\nMake coffee\r\nChannel Elvis</w:t>

    in Paul, there are spellcheck tags which are exactly where the false segmentation occurs. As \r\ and n are separated, the TM rules can't apply.

    and here a couple of lines:
    ...<w:r w:rsidRPr="001F0BA2"><w:t>This exciting new tool lets you:\r\</w:t></w:r><w:proofErr w:type="spellStart"/><w:r w:rsidRPr="001F0BA2"><w:t>nOpen</w:t></w:r><w:proofErr w:type="spellEnd"/><w:r w:rsidRPr="001F0BA2"><w:t xml:space="preserve"> files\r\</w:t>...


    I bet the segmentation takes place on computer where the newest word version is installed (not used to create the doc)...
    : ) Nice riddle
    Kind regards
    Sébastien
Children