Importing a tmx file into a Trados translation memory

I have a large sentence archive from IBM Personal Translator that I am trying to import into Trados. It is not working. Any suggestions as to why?

Parents Reply Children
  • Sorry for the delay. What I am now hoping to learn is how to use Olifant to enable me to export my Linguatec tmx file into a Trados tmx file. Do you know how to do this?

  • What I am now hoping to learn is how to use Olifant to enable me to export my Linguatec tmx file into a Trados tmx file. Do you know how to do this?

    I wouldn't even entertain this route without seeing the file first.  Can you provide the details I asked for earlier?

    The most common problem with importing TMX files, if the file is well formed and a valid TMX, is the information in the header.  Can you use a text editor to delete all the contents of your TMX apart from the header and the first translation unit, then share with us?  Like this for example:

    <?xml version="1.0" encoding="utf-8"?>
    <tmx version="1.4">
      <header creationtool="SDL Language Platform" creationtoolversion="8.1" o-tmf="SDL TM8 Format" datatype="xml" segtype="sentence" adminlang="en-US" srclang="en-US" creationdate="20170918T092759Z" creationid="GLOBAL\pfilkin">
        <prop type="x-Model:SinglePicklist">Aston Martin,Austro-Daimler,Bugatti,Duesenberg,Ferrari,Horse Carriage,Jaguar,McLaren,Mercedes,Shelby,Stanley</prop>
        <prop type="x-Year:Integer"></prop>
        <prop type="x-Quality:Integer"></prop>
        <prop type="x-SourceFile:SingleString"></prop>
        <prop type="x-TargetFile:SingleString"></prop>
        <prop type="x-Recognizers">RecognizeAll</prop>
        <prop type="x-IncludesContextContent">True</prop>
        <prop type="x-TMName">en(US) - de(DE) {Fastest Production Cars}</prop>
        <prop type="x-TokenizerFlags">DefaultFlags</prop>
        <prop type="x-WordCountFlags">DefaultFlags</prop>
      </header>
      <body>
        <tu creationdate="20170918T093522Z" creationid="GLOBAL\pfilkin" changedate="20170918T093844Z" changeid="GLOBAL\pfilkin" lastusagedate="20200817T084158Z" usagecount="1">
          <prop type="x-LastUsedBy">GLOBAL\pfilkin</prop>
          <prop type="x-Context">0, 0</prop>
          <prop type="x-Origin">TM</prop>
          <prop type="x-ConfirmationLevel">Translated</prop>
          <prop type="x-Year:Integer">1880</prop>
          <prop type="x-Model:SinglePicklist">Horse Carriage</prop>
          <tuv xml:lang="en-US">
            <seg>I know, I know, this is not a car, it’s a horse-drawn carriage — but we needed a reference point.</seg>
          </tuv>
          <tuv xml:lang="de-DE">
            <seg>Ich weiß, ich weiß, das ist kein Auto, sondern eine Pferdekutsche - aber wir brauchten einen Bezugspunkt.</seg>
          </tuv>
        </tu>
      </body>
    </tmx>

    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

  • I wanted to send a text file with an example, but I got the following message: Leider kann das Dokument x nicht geöffnet werden, da sein Inhalt Probleme verursacht.

    Details: Ungültiges Unicode-Zeichen

    Position: Zeile 566623, Spalte 112 

  • Which "Dokument"? File name extension? Where did you try to open the document? And the text says clearly, that your xml is invalid, bad character in line 566623 column 112. Open the file in Notepad++ and go to this place, remove the offending character and try again.

    _________________________________________________________

    When asking for help here, please be as accurate as possible. Please always remember to give the exact version of product used and all possible error messages received. The better you describe your problem, the better help you will get.

    Want to learn more about Trados Studio? Visit the Community Hub. Have a good idea to make Trados Studio better? Publish it here.

  • Can you send it anyway and we can sort it out.

    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

  • Sorry, I answered your email. That obviously doesn't work. Thank you for your clear advice. I found the line and column, but how can I remove the character, which is invisible. Should I just delete the whole TU? Is the TM then valid or whatever? It is a large archive and would presumably help me a lot, if I could transfer it into Trados.

    My main problem is actually as follows: I have my own system, which has worked well for years. It is a little complicated to explain, but the problem boils down to this: I would like ideally to continue to use my method and just align the source and target files to produce an XLIFF file (in Trados or elsewhere) . This procedure seems to be cumbersome and time-consuming in Trados. Three-quarters of the segments don't match, so I would have to spend far too much time aligning them. Any suggestions? I would be most grateful, as I may lose my main client. If you can propose a solution, I would reward you with 12 bottles of the best Riesling in Germany.        

  • Sorry for the delay. I am also trying to work out how to generate an XLIFF file. This is what my TUs look like: 

    <?xml version="1.0" encoding="utf-8"?>
    <tmx>
    <header creationtool="linguatec Personal Translator" creationtoolversion="" segtype="sentence" o-tmf="linguatec Translation Memory" adminlang="EN" srclang="de" datatype="unknown" />
    <body>
    <tu changedate="20081025T230300Z" changeid="pt2008">
    <tuv xml:lang="de">
    <seg>Gesamtziel für den Bereich „Tourismus und nachhaltige Entwicklung in der technischen Zusammenarbeit":</seg>
    </tuv>
    <tuv xml:lang="en">
    <seg>Overall objective for Tourism and Sustainable Development in Technical Cooperation:</seg>
    </tuv>
    </tu>
    <tu changedate="20081025T230300Z" changeid="pt2008">
    <tuv xml:lang="de">
    <seg>Nationaler und internationaler Tourismus trägt zur nachhaltigen Entwicklung in den Destinationen der Partnerländer bei.</seg>
    </tuv>
    <tuv xml:lang="en">
    <seg>National and international tourism contributes to sustainable development in the destinations of the partner countries.</seg>
    </tuv>
    </tu>
    <tu changedate="20081025T230300Z" changeid="pt2008">
    <tuv xml:lang="de">
    <seg>Die GTZ orientiert sich bei der Förderung von Tourismus an den UN-Millenniums-Entwicklungszielen:</seg>
    </tuv>
    <tuv xml:lang="en">
    <seg>GTZ tourism promotion is geared to the Millenium Development Goals:</seg>
    </tuv>

    I do hope I can solve this problem, because it is a large archive that would save an enormous amount of work.  

  • I'm not sure this is really your problem as I'm sure you would have seen this, but the file you provided here isn't well formed.  If I add this at the end it imports perfectly into an SDLTM:

    </tu>
    </body>
    </tmx>

    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