multilingual TMX file - how to import it into Trados TMs?

Hello,

I have this tmx file that seems exported from Across. However, it has some peculiarities, i.e.:
1. it does not contain translation units only in a specific language pair (e.g. EN-DE) but in several. There are TUs for EN-ES, EN-NL etc.
2. some TUs have a source segment but no target segment
I attach a short part here.
I would like to create several TMs in Trados (one for each language pair) and then import from this multilingual tmx file only the TUs in the relevant language pair. Do you know any way?
<?xml version="1.0" encoding="UTF-16"?>
<tmx version="1.4">
<header creationtool="Across" creationtoolversion="7.00.0" segtype="sentence" o-tmf="Across TMX export 7.00.0" adminlang="EN-US" srclang="*all*" datatype="unknown" creationdate="20201111T135705Z">
</header>
<body>
<tu>
<prop type="user-defined">basestyle:<cf id="0" fontcolour="0x0" size="13" font="Segoe UI" extstyle="no" richstyle="no" dseid="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"></prop>
<tuv xml:lang="en-GB"><seg><prop type="user-defined">sentId:1</prop>X7 Pos. closed</seg></tuv>
</tu>
<tu>
<prop type="user-defined">basestyle:<cf id="0" fontcolour="0x0" size="13" font="Segoe UI" extstyle="no" richstyle="no" dseid="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"></prop>
<tuv xml:lang="en-GB"><seg><prop type="user-defined">sentId:2</prop>X7 Pos. closed</seg></tuv>
</tu>
<tu>
<prop type="user-defined">basestyle:<cf id="0" size="13" font="Segoe UI" extstyle="no" richstyle="no"></prop>
<tuv xml:lang="en-GB"><seg><prop type="user-defined">sentId:3</prop>time</seg></tuv>
</tu>
<tu>
<prop type="user-defined">basestyle:<cf id="0" fontcolour="0x0" size="13" font="Segoe UI" extstyle="no" richstyle="no" dseid="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"></prop>
<tuv xml:lang="en-GB"><seg><prop type="user-defined">sentId:4</prop>X7 Pos. after tilt bearing closed</seg></tuv>
</tu>
<tu creationdate="20241025T140845Z" changedate="20241025T140845Z" creationid="XXXX" changeid="XXXX" srclang="en-GB">
<prop type="user-defined">quality:100</prop>
<prop type="user-defined">storing mode:1</prop>
<prop type="user-defined">uncontrolled:0</prop>
<prop type="user-defined">lastuser:unbekannt</prop>
<prop type="user-defined">context left:1;2</prop>
<prop type="user-defined">context right:3;4</prop>
<prop type="user-defined">basestyle:<cf fontcolour="0x0" size="13" font="Segoe UI" extstyle="no" dseid="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"></prop>
<prop type="Att::Relationen">XXX</prop>
<tuv xml:lang="en-GB"><seg>X7 Pos. before</seg></tuv>
<tuv xml:lang="es-ES"><seg>Pos. X7 antes</seg></tuv>
</tu>
<tu>
<prop type="user-defined">basestyle:<cf id="0" fontcolour="0x0" size="10" font="Arial" bold="off" italic="off" strikethrough="off" subscript="off" superscript="off" underlinestyle="off" extstyle="no" richstyle="no" dseid="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"></prop>
<tuv xml:lang="en-GB"><seg><prop type="user-defined">sentId:5</prop>You are not authorized to modify the default program.</seg></tuv>
</tu>
<tu>
<prop type="user-defined">basestyle:<cf id="0" extstyle="no" richstyle="no"></prop>
<tuv xml:lang="en-GB"><seg><prop type="user-defined">sentId:6</prop></seg></tuv>
</tu>
<tu creationdate="20241024T114446Z" changedate="20201021T113346Z" creationid="XXXX" changeid="XXXX" srclang="en-GB">
<prop type="user-defined">quality:100</prop>
<prop type="user-defined">storing mode:1</prop>
<prop type="user-defined">uncontrolled:0</prop>
<prop type="user-defined">lastuser:unbekannt</prop>
<prop type="user-defined">context left:5</prop>
<prop type="user-defined">context right:6</prop>
<prop type="user-defined">basestyle:<cf extstyle="no"></prop>
<prop type="Att::Relationen">XXX</prop>
<tuv xml:lang="en-GB"><seg>message for the machine</seg></tuv>
<tuv xml:lang="es-ES"><seg>Mensaje para ela máquina</seg></tuv>
</tu>
<tu>
<prop type="user-defined">basestyle:<cf id="0" extstyle="no" richstyle="no"></prop>
<tuv xml:lang="en-GB"><seg><prop type="user-defined">sentId:7</prop>Date, Time and Time Zone changed successfully</seg></tuv>
</tu>
<tu>
<prop type="user-defined">basestyle:<cf id="0" fontcolour="0x0" size="10" font="Arial" bold="off" italic="off" strikethrough="off" subscript="off" superscript="off" underlinestyle="off" extstyle="no" richstyle="no" dseid="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"></prop>
<tuv xml:lang="en-GB"><seg><prop type="user-defined">sentId:8</prop>You are not authorized to modify the default program.</seg></tuv>
</tu>
<tu creationdate="20201021T113346Z" changedate="20201021T113346Z" creationid="XXXX" changeid="XXXX" srclang="en-GB">
<prop type="user-defined">quality:100</prop>
<prop type="user-defined">storing mode:1</prop>
<prop type="user-defined">uncontrolled:0</prop>
<prop type="user-defined">lastuser:unbekannt</prop>
<prop type="user-defined">context left:7</prop>
<prop type="user-defined">context right:8</prop>
<prop type="user-defined">basestyle:<cf extstyle="no"></prop>
<prop type="Att::Relationen">XXX</prop>
<tuv xml:lang="en-GB"><seg>Error writing calibration data of radius measuring device</seg></tuv>
<tuv xml:lang="es-ES"><seg>Error al escribir los datos de calibración del dispositivo de medición de radio</seg></tuv>
</tu>
<tu>
<prop type="user-defined">basestyle:<cf id="0" extstyle="no" richstyle="no"></prop>
<tuv xml:lang="en-GB"><seg><prop type="user-defined">sentId:9</prop>Date, Time and Time Zone change failed</seg></tuv>
</tu>
<tu creationdate="20201021T113346Z" changedate="20201021T113346Z" creationid="XXXX" changeid="XXXX" srclang="en-GB">
<prop type="user-defined">quality:100</prop>
<prop type="user-defined">storing mode:1</prop>
<prop type="user-defined">uncontrolled:0</prop>
<prop type="user-defined">lastuser:unbekannt</prop>
<prop type="user-defined">context left:9</prop>
<prop type="user-defined">context right:10</prop>
<prop type="user-defined">basestyle:<cf extstyle="no"></prop>
<prop type="Att::Relationen">XXX</prop>
<tuv xml:lang="en-GB"><seg>Date, Time and Time Zone changed successfully</seg></tuv>
<tuv xml:lang="es-ES"><seg>Fecha, hora y zona horaria cambiadas correctamente</seg></tuv>
</tu>
<tu>
<prop type="user-defined">basestyle:<cf id="0" extstyle="no" richstyle="no"></prop>
<tuv xml:lang="en-GB"><seg><prop type="user-defined">sentId:13</prop>Error on saving current position as preset position?</seg></tuv>
</tu>
<tu creationdate="20210927T102551Z" changedate="20210927T102551Z" creationid="XXX 6" changeid="XXX 6" srclang="en-GB">
<prop type="user-defined">quality:100</prop>
<prop type="user-defined">storing mode:1</prop>
<prop type="user-defined">uncontrolled:0</prop>
<prop type="user-defined">lastuser:unbekannt</prop>
<prop type="user-defined">context left:257959</prop>
<prop type="user-defined">context right:257960</prop>
<prop type="user-defined">basestyle:<cf size="12" font="Arial Unicode MS" extstyle="no"></prop>
<prop type="Att::Relationen">XXXX</prop>
<tuv xml:lang="en-GB"><seg>Reject</seg></tuv>
<tuv xml:lang="pt-BR"><seg>Rejeitar</seg></tuv>
</tu>
<tu creationdate="20200927T102551Z" changedate="20200927T102551Z" creationid="XXX 6" changeid="XXX 6" srclang="en-GB" usagecount="2" lastusagedate="20201125T151748Z">
<prop type="user-defined">quality:100</prop>
<prop type="user-defined">storing mode:1</prop>
<prop type="user-defined">uncontrolled:0</prop>
<prop type="user-defined">lastuser:unbekannt</prop>
<prop type="user-defined">context left:257961;257962</prop>
<prop type="user-defined">context right:257963;257964</prop>
<prop type="user-defined">basestyle:<cf fontcolour="0x0" size="10" font="Arial" bold="off" italic="off" strikethrough="off" subscript="off" superscript="off" underlinestyle="off" extstyle="no" dseid="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"></prop>
<prop type="Att::Relationen">XXXX</prop>
<tuv xml:lang="en-GB"><seg>Message</seg></tuv>
<tuv xml:lang="pt-BR"><seg>Mensagem</seg></tuv>
</tu>
<tu creationdate="20090804T153922Z" changedate="20200312T105200Z" creationid="XXXX XXX" changeid="XXXX XXX" srclang="ar-KW">
<prop type="user-defined">quality:100</prop>
<prop type="user-defined">storing mode:1</prop>
<prop type="user-defined">uncontrolled:0</prop>
<prop type="user-defined">lastuser:unbekannt</prop>
<prop type="user-defined">basestyle:<cf size="13" font="Segoe UI" extstyle="no"></prop>
<prop type="Att::Relationen">XXX</prop>
<tuv xml:lang="ar-KW"><seg>تم حفظ البرنامج بنجاح</seg></tuv>
<tuv xml:lang="de-DE"><seg>Programm erfolgreich gespeichert</seg></tuv>
</tu>
</body>
</tmx>


Moved the code into a code block using the Insert -> Code menu.
[edited by: Paul at 8:16 AM (GMT 0) on 29 Nov 2024]
emoji
Parents
  •   

    your post was treated as spam because you posted the TMX as text into the thread. Better to insert as code through the menu or attach the file as a zip.

    On your question… maybe this article will help?

    https://multifarious.filkin.com/2012/10/22/more-useful-resources-and-multilingual-tms

    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
  •  

    Now I'm back at my laptop I moved your code into a code block so you can see the difference, and I also created a working TMX from your example as that was full of problems so nobody would be able to test that.  Using this one:

    <?xml version="1.0" encoding="UTF-8"?>
    <tmx version="1.4">
      <header creationtool="Across" creationtoolversion="7.00.0" segtype="sentence" o-tmf="Across TMX export 7.00.0" adminlang="en-GB" srclang="en-GB" datatype="unknown" creationdate="20201111T135705Z">
      </header>
      <body>
        <tu creationdate="20241025T140845Z" changedate="20241025T140845Z" creationid="XXXX" changeid="XXXX" srclang="en-GB">
          <prop type="user-defined">quality:100</prop>
          <prop type="user-defined">storing mode:1</prop>
          <prop type="user-defined">context left:1;2</prop>
          <prop type="user-defined">context right:3;4</prop>
          <tuv xml:lang="en-GB"><seg>X7 Pos. before</seg></tuv>
          <tuv xml:lang="es-ES"><seg>Pos. X7 antes</seg></tuv>
        </tu>
        <tu creationdate="20201021T113346Z" changedate="20201021T113346Z" creationid="XXXX" changeid="XXXX" srclang="en-GB">
          <prop type="user-defined">quality:100</prop>
          <prop type="user-defined">storing mode:1</prop>
          <prop type="user-defined">context left:5</prop>
          <prop type="user-defined">context right:6</prop>
          <tuv xml:lang="en-GB"><seg>Message</seg></tuv>
          <tuv xml:lang="pt-BR"><seg>Mensagem</seg></tuv>
        </tu>
        <tu creationdate="20200927T102551Z" changedate="20200927T102551Z" creationid="XXX 6" changeid="XXX 6" srclang="en-GB" usagecount="2" lastusagedate="20201125T151748Z">
          <prop type="user-defined">quality:100</prop>
          <prop type="user-defined">storing mode:1</prop>
          <prop type="user-defined">context left:257961;257962</prop>
          <prop type="user-defined">context right:257963;257964</prop>
          <tuv xml:lang="en-GB"><seg>Date, Time and Time Zone changed successfully</seg></tuv>
          <tuv xml:lang="es-ES"><seg>Fecha, hora y zona horaria cambiadas correctamente</seg></tuv>
        </tu>
        <tu creationdate="20210927T102551Z" changedate="20210927T102551Z" creationid="XXX 6" changeid="XXX 6" srclang="en-GB">
          <prop type="user-defined">quality:100</prop>
          <prop type="user-defined">storing mode:1</prop>
          <prop type="user-defined">context left:257959</prop>
          <prop type="user-defined">context right:257960</prop>
          <tuv xml:lang="en-GB"><seg>Reject</seg></tuv>
          <tuv xml:lang="pt-BR"><seg>Rejeitar</seg></tuv>
        </tu>
        <tu creationdate="20090804T153922Z" changedate="20200312T105200Z" creationid="XXXX XXX" changeid="XXXX XXX" srclang="ar-KW">
          <prop type="user-defined">quality:100</prop>
          <prop type="user-defined">storing mode:1</prop>
          <tuv xml:lang="ar-KW"><seg>تم حفظ البرنامج بنجاح</seg></tuv>
          <tuv xml:lang="de-DE"><seg>Programm erfolgreich gespeichert</seg></tuv>
        </tu>
      </body>
    </tmx>

    You can handle it like this:

    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
Reply
  •  

    Now I'm back at my laptop I moved your code into a code block so you can see the difference, and I also created a working TMX from your example as that was full of problems so nobody would be able to test that.  Using this one:

    <?xml version="1.0" encoding="UTF-8"?>
    <tmx version="1.4">
      <header creationtool="Across" creationtoolversion="7.00.0" segtype="sentence" o-tmf="Across TMX export 7.00.0" adminlang="en-GB" srclang="en-GB" datatype="unknown" creationdate="20201111T135705Z">
      </header>
      <body>
        <tu creationdate="20241025T140845Z" changedate="20241025T140845Z" creationid="XXXX" changeid="XXXX" srclang="en-GB">
          <prop type="user-defined">quality:100</prop>
          <prop type="user-defined">storing mode:1</prop>
          <prop type="user-defined">context left:1;2</prop>
          <prop type="user-defined">context right:3;4</prop>
          <tuv xml:lang="en-GB"><seg>X7 Pos. before</seg></tuv>
          <tuv xml:lang="es-ES"><seg>Pos. X7 antes</seg></tuv>
        </tu>
        <tu creationdate="20201021T113346Z" changedate="20201021T113346Z" creationid="XXXX" changeid="XXXX" srclang="en-GB">
          <prop type="user-defined">quality:100</prop>
          <prop type="user-defined">storing mode:1</prop>
          <prop type="user-defined">context left:5</prop>
          <prop type="user-defined">context right:6</prop>
          <tuv xml:lang="en-GB"><seg>Message</seg></tuv>
          <tuv xml:lang="pt-BR"><seg>Mensagem</seg></tuv>
        </tu>
        <tu creationdate="20200927T102551Z" changedate="20200927T102551Z" creationid="XXX 6" changeid="XXX 6" srclang="en-GB" usagecount="2" lastusagedate="20201125T151748Z">
          <prop type="user-defined">quality:100</prop>
          <prop type="user-defined">storing mode:1</prop>
          <prop type="user-defined">context left:257961;257962</prop>
          <prop type="user-defined">context right:257963;257964</prop>
          <tuv xml:lang="en-GB"><seg>Date, Time and Time Zone changed successfully</seg></tuv>
          <tuv xml:lang="es-ES"><seg>Fecha, hora y zona horaria cambiadas correctamente</seg></tuv>
        </tu>
        <tu creationdate="20210927T102551Z" changedate="20210927T102551Z" creationid="XXX 6" changeid="XXX 6" srclang="en-GB">
          <prop type="user-defined">quality:100</prop>
          <prop type="user-defined">storing mode:1</prop>
          <prop type="user-defined">context left:257959</prop>
          <prop type="user-defined">context right:257960</prop>
          <tuv xml:lang="en-GB"><seg>Reject</seg></tuv>
          <tuv xml:lang="pt-BR"><seg>Rejeitar</seg></tuv>
        </tu>
        <tu creationdate="20090804T153922Z" changedate="20200312T105200Z" creationid="XXXX XXX" changeid="XXXX XXX" srclang="ar-KW">
          <prop type="user-defined">quality:100</prop>
          <prop type="user-defined">storing mode:1</prop>
          <tuv xml:lang="ar-KW"><seg>تم حفظ البرنامج بنجاح</seg></tuv>
          <tuv xml:lang="de-DE"><seg>Programm erfolgreich gespeichert</seg></tuv>
        </tu>
      </body>
    </tmx>

    You can handle it like this:

    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
Children
No Data