Segmentation rule for line break

Hi,

I have searched the forum and found solutions for the same problem I have, but it won't work.

I have this xml:

XML code in Trados Studio with highlighted text showing 'TEST- with bullet 1- with bullet 2without bullet 1without bullet 2- Antrieb Langstransportboden EINAUS'.

Without segmentation rules I get this:

Trados Studio translation results displaying 'TEST - with bullet 1 - with bullet 2 without bullet 1 without bullet 2 - Antrieb Langstransportboden EINAUS' without segmentation.

Whith this rule...

Trados Studio segmentation rules interface with a rule input field containing a dot symbol before the segment end and 's-ls' after the segment end.

... I get here:

Trados Studio translation results with segmented text showing 'TEST', 'with bullet 1', 'with bullet 2 without bullet 1 without bullet 2', 'Antrieb Langstransportboden EINAUS' on separate lines.

 I then tried with this rule to segmet line 3, which has an LF at the end of the line, but it doesn't work.I also tried with \r and \r\n.

Trados Studio segmentation rules interface with a rule input field containing '.n+.' before the segment end and a dot symbol after the segment end.

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<data lang="de" lastmodified-date="2020-12-16 00:00:00" total_load_time="11.98s" total_same_items="0" total_diff_items="0">
  <root table="CalculationBox" date="2022-06-09 06:29:46" gen-time="0.07s" load_time="0.09s">
          <item id="97" method="translation">

                            <equipment><![CDATA[TEST
- with bullet 1
- with bullet 2
without bullet 1
without bullet 2
- Antrieb Längstransportboden EIN/AUS]]></equipment>
</item>
      </root>
</data>

I hope the code displays right.

Any idea? Thnx.

Burim



Generated Image Alt-Text
[edited by: Trados AI at 7:06 AM (GMT 0) on 29 Feb 2024]
Parents Reply Children
No Data