Open AI splitting each segment

Hello,

This never occured before. I suspect this has something to do with formatting I got from my client.

What shall I to not to get each segment split into several translation suggestions like this one. PIC 2 This text is impossible to work with.

Here is the full tag text PIC 1.

Please, help!

Screenshot showing a list of lessons in Trados Studio with tags and formatting, including 'Leksjon 1 - Innledning' to 'Leksjon 6 - Farlig gods' in Norwegian.

Screenshot of Trados Studio interface with translation suggestions for lessons, showing Norwegian source text and Polish translations, along with formatting tags and segment locks.



Generated Image Alt-Text
[edited by: RWS Community AI at 6:32 PM (GMT 1) on 2 May 2025]
emoji
Parents
  • I have made a rule for xlf files to make TS read tags as "inline" but it wont help. I think I need a professional  technical help from the support. Is it possible to make a case to get help? 
     
    Trados Studio Project Settings window showing the Embedded Content section with options for enabling embedded content processing and tag definition rules for XLIFF files.

    emoji


    Generated Image Alt-Text
    [edited by: RWS Community AI at 8:40 PM (GMT 1) on 2 May 2025]
  •  

    Hmnn... show me where I can see the XLIFF itself and not just screenshots of what it looks like in Trados Studio?  If you want some help you need to make this easy!

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

    emoji
  • Im sorry. I misunderstood. Do you mean this one?
    Screenshot of an XML file opened in a text editor, showing code related to an XLIFF document with tags and attributes for a presentation module.

    emoji


    Generated Image Alt-Text
    [edited by: RWS Community AI at 9:04 PM (GMT 1) on 2 May 2025]
  •  

    ok - a pretty horrible use of XLIFF.  I think the best way for you to handle this file given there seems to be no target elements populated is this.

    First, open the source xlf files, copy all source to target and immediately save the target file.  This will get you something like this:

    <?xml version="1.0" encoding="UTF-8"?>
    <xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:ispring="ispringsolutions.com/custom-xliff" version="1.2">
      <file datatype="x-is-ispring-presentation" ispring:id="presentation:{DUMMY-ID}" original="presentation" source-language="nb">
        <body>
          <group id="presentation.slides">
            <group id="slide1">
              <group id="slide1.shapes">
                <group id="slide1.shapes.textbox1">
                  <trans-unit id="slide1.shapes.textbox1.text">
                    <source>
                      <g ctype="x-is-par" id="p0">
                        <g ctype="x-is-run" id="p0_r0" ispringstart-data="d0">Leksjon 1 - Innledning</g>
                      </g>
                      <g ctype="x-is-par" id="p1">
                        <g ctype="x-is-run" id="p1_r0" ispringstart-data="d1">Leksjon 2 - Lover og forskrifter</g>
                      </g>
                      <g ctype="x-is-par" id="p2">
                        <g ctype="x-is-run" id="p2_r0" ispringstart-data="d2">Leksjon 3 - Arbeidsmiljø, ansvar og konsekvenser</g>
                      </g>
                      <g ctype="x-is-par" id="p3">
                        <g ctype="x-is-run" id="p3_r0" ispringstart-data="d3">Leksjon 4 - Ytre miljø - Miljøvern</g>
                      </g>
                      <g ctype="x-is-par" id="p4">
                        <g ctype="x-is-run" id="p4_r0" ispringstart-data="d4">Leksjon 5 - Sikkerhetsbestemmelser arbeidsutstyr</g>
                      </g>
                      <g ctype="x-is-par" id="p5">
                        <g ctype="x-is-run" id="p5_r0" ispringstart-data="d5">Leksjon 6 - Farlig gods</g>
                      </g>
                    </source>
                    <target state="new">
                      <g ctype="x-is-par" id="p0">
                        <g ctype="x-is-run" id="p0_r0" ispringstart-data="d0">Leksjon 1 - Innledning</g>
                      </g>
                      <g ctype="x-is-par" id="p1">
                        <g ctype="x-is-run" id="p1_r0" ispringstart-data="d1">Leksjon 2 - Lover og forskrifter</g>
                      </g>
                      <g ctype="x-is-par" id="p2">
                        <g ctype="x-is-run" id="p2_r0" ispringstart-data="d2">Leksjon 3 - Arbeidsmiljø, ansvar og konsekvenser</g>
                      </g>
                      <g ctype="x-is-par" id="p3">
                        <g ctype="x-is-run" id="p3_r0" ispringstart-data="d3">Leksjon 4 - Ytre miljø - Miljøvern</g>
                      </g>
                      <g ctype="x-is-par" id="p4">
                        <g ctype="x-is-run" id="p4_r0" ispringstart-data="d4">Leksjon 5 - Sikkerhetsbestemmelser arbeidsutstyr</g>
                      </g>
                      <g ctype="x-is-par" id="p5">
                        <g ctype="x-is-run" id="p5_r0" ispringstart-data="d5">Leksjon 6 - Farlig gods</g>
                      </g>
                    </target>
                  </trans-unit>
                </group>
              </group>
            </group>
          </group>
        </body>
      </file>
    </xliff>
    

    Now create a custom XML filetype like the attached: emi.zip

    That has two rules:

    1. only extract the target translation

    2. don't extract anything at all

    That should get you this which should be easier to handle:

    Screenshot of Trados Studio showing a preview of the file t_emi.xlf. The left column contains source text in Norwegian, and the right column contains identical target text in Norwegian.

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub



    Generated Image Alt-Text
    [edited by: RWS Community AI at 9:20 PM (GMT 1) on 2 May 2025]
Reply
  •  

    ok - a pretty horrible use of XLIFF.  I think the best way for you to handle this file given there seems to be no target elements populated is this.

    First, open the source xlf files, copy all source to target and immediately save the target file.  This will get you something like this:

    <?xml version="1.0" encoding="UTF-8"?>
    <xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:ispring="ispringsolutions.com/custom-xliff" version="1.2">
      <file datatype="x-is-ispring-presentation" ispring:id="presentation:{DUMMY-ID}" original="presentation" source-language="nb">
        <body>
          <group id="presentation.slides">
            <group id="slide1">
              <group id="slide1.shapes">
                <group id="slide1.shapes.textbox1">
                  <trans-unit id="slide1.shapes.textbox1.text">
                    <source>
                      <g ctype="x-is-par" id="p0">
                        <g ctype="x-is-run" id="p0_r0" ispringstart-data="d0">Leksjon 1 - Innledning</g>
                      </g>
                      <g ctype="x-is-par" id="p1">
                        <g ctype="x-is-run" id="p1_r0" ispringstart-data="d1">Leksjon 2 - Lover og forskrifter</g>
                      </g>
                      <g ctype="x-is-par" id="p2">
                        <g ctype="x-is-run" id="p2_r0" ispringstart-data="d2">Leksjon 3 - Arbeidsmiljø, ansvar og konsekvenser</g>
                      </g>
                      <g ctype="x-is-par" id="p3">
                        <g ctype="x-is-run" id="p3_r0" ispringstart-data="d3">Leksjon 4 - Ytre miljø - Miljøvern</g>
                      </g>
                      <g ctype="x-is-par" id="p4">
                        <g ctype="x-is-run" id="p4_r0" ispringstart-data="d4">Leksjon 5 - Sikkerhetsbestemmelser arbeidsutstyr</g>
                      </g>
                      <g ctype="x-is-par" id="p5">
                        <g ctype="x-is-run" id="p5_r0" ispringstart-data="d5">Leksjon 6 - Farlig gods</g>
                      </g>
                    </source>
                    <target state="new">
                      <g ctype="x-is-par" id="p0">
                        <g ctype="x-is-run" id="p0_r0" ispringstart-data="d0">Leksjon 1 - Innledning</g>
                      </g>
                      <g ctype="x-is-par" id="p1">
                        <g ctype="x-is-run" id="p1_r0" ispringstart-data="d1">Leksjon 2 - Lover og forskrifter</g>
                      </g>
                      <g ctype="x-is-par" id="p2">
                        <g ctype="x-is-run" id="p2_r0" ispringstart-data="d2">Leksjon 3 - Arbeidsmiljø, ansvar og konsekvenser</g>
                      </g>
                      <g ctype="x-is-par" id="p3">
                        <g ctype="x-is-run" id="p3_r0" ispringstart-data="d3">Leksjon 4 - Ytre miljø - Miljøvern</g>
                      </g>
                      <g ctype="x-is-par" id="p4">
                        <g ctype="x-is-run" id="p4_r0" ispringstart-data="d4">Leksjon 5 - Sikkerhetsbestemmelser arbeidsutstyr</g>
                      </g>
                      <g ctype="x-is-par" id="p5">
                        <g ctype="x-is-run" id="p5_r0" ispringstart-data="d5">Leksjon 6 - Farlig gods</g>
                      </g>
                    </target>
                  </trans-unit>
                </group>
              </group>
            </group>
          </group>
        </body>
      </file>
    </xliff>
    

    Now create a custom XML filetype like the attached: emi.zip

    That has two rules:

    1. only extract the target translation

    2. don't extract anything at all

    That should get you this which should be easier to handle:

    Screenshot of Trados Studio showing a preview of the file t_emi.xlf. The left column contains source text in Norwegian, and the right column contains identical target text in Norwegian.

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub



    Generated Image Alt-Text
    [edited by: RWS Community AI at 9:20 PM (GMT 1) on 2 May 2025]
Children