Switching Language pairs in old TMs

Hello everybody,

I am having the same problem I had a month ago with language pairs even though the default is en-US to fr-CA. I have copied the TMX file into the Notepad and replaced each occurrence of fr-FR with fr-CA, but I can't remember how to import the TXT file back into Trados. Anybody can help?

Thank you!

emoji
Parents Reply Children
  •  

    ok - I think I see your problem(s):

    1. why did you copy it into a txt file in Notepad?  It's already a text file, but has the extension TMX.  All you need to do is open the TMX you exported in a decent text editor like Notepad++ (I'd recommend you don't use Notepad)
    2. If you open the TMX, edit it and save it, then it's still a TMX and you can import it back in again.
    3. you are only converting a TXT to a TMX because you don't realise that the TMX is actually a TXT file with a TMX extension.

    Notepad++ is here: https://notepad-plus-plus.org/downloads/

    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
  • Hi Paul and thanks for your patience! 

    I did the steps that you suggested (and made a written note of the process for next time). So here is what I encountered:

    1. why did you copy it into a txt file in Notepad?  It's already a text file, but has the extension TMX.  All you need to do is open the TMX you exported in a decent text editor like Notepad++ (I'd recommend you don't use Notepad)
      OK, downloaded Notepad++
    2. If you open the TMX, edit it and save it, then it's still a TMX and you can import it back in again.
      Trados Import function does not seem to accept TXT docs. So I added .TMT as the extention and it worked.
    3. you are only converting a TXT to a TMX because you don't realise that the TMX is actually a TXT file with a TMX extension.

      Even though I found and replaced all en-CA occurrence with en-US, the TM was still labelled en-CA when I tried to merge it with the TM labelled en-US. I gave up understanding this part...
    emoji
  •  

    Trados Import function does not seem to accept TXT docs. So I added .TMT as the extention and it worked.

    That's because the file you are importing is a TMX and not a TXT.  As I said, yours is a TXT because you called it that.  A bit like me calling an XSLX a TXT... not the same things at all.  A TXT in terms of a Translation Memory is a very specific type of Translation Memory.  The old Trados pre-"Trados Studio" days used to support a TXT translation memory.  Looks a bit like this:

    <TWBExportFile version="7.0" generator="TW4Win" build="8.3.0.863">
    <RTF Preamble>
    <FontTable>
    {\fonttbl 
    {\f1 \fmodern\fprq1 \fcharset0 Courier New;}
    {\f2 \fswiss\fprq2 \fcharset0 Arial;}}
    <StyleSheet>
    {\stylesheet 
    {\St \s0 {\StN Normal}}
    {\St \cs1 {\StB \v\f1\fs24\sub\cf12 }{\StN tw4winMark}}
    {\St \cs2 {\StB \cf4\fs40\f1 }{\StN tw4winError}}
    {\St \cs3 {\StB \f1\cf11\lang1024 }{\StN tw4winPopup}}
    {\St \cs4 {\StB \f1\cf10\lang1024 }{\StN tw4winJump}}
    {\St \cs5 {\StB \f1\cf15\lang1024 }{\StN tw4winExternal}}
    {\St \cs6 {\StB \f1\cf6\lang1024 }{\StN tw4winInternal}}
    {\St \cs7 {\StB \cf2 }{\StN tw4winTerm}}
    {\St \cs8 {\StB \f1\cf13\lang1024 }{\StN DO_NOT_TRANSLATE}}}
    </RTF Preamble>
    <TrU>
    <CrD>01062011, 18:28:59
    <CrU>GLOBAL\pfilkin
    <ChD>01062011, 18:28:59
    <ChU>GLOBAL\pfilkin
    <Seg L=EN-US>Uh.
    <Seg L=DE-DE>Uh.
    </TrU>
    <TrU>
    <CrD>01062011, 18:28:59
    <CrU>GLOBAL\pfilkin
    <ChD>01062011, 18:28:59
    <ChU>GLOBAL\pfilkin
    <Seg L=EN-US>JUDITH:
    <Seg L=DE-DE>JUDITH:
    </TrU>
    <TrU>
    <CrD>01062011, 18:28:59
    <CrU>GLOBAL\pfilkin
    <ChD>01062011, 18:28:59
    <ChU>GLOBAL\pfilkin
    <Seg L=EN-US>PILATE:
    <Seg L=DE-DE>Pilatus:
    </TrU>
    <TrU>
    <CrD>01062011, 18:28:59
    <CrU>GLOBAL\pfilkin
    <ChD>01062011, 18:28:59
    <ChU>GLOBAL\pfilkin
    <Seg L=EN-US>All wight.
    <Seg L=DE-DE>Alle Wight.
    </TrU>
    <TrU>
    <CrD>01062011, 18:28:59
    <CrU>GLOBAL\pfilkin
    <ChD>01062011, 18:28:59
    <ChU>GLOBAL\pfilkin
    <Seg L=EN-US>I will give you one more chance.
    <Seg L=DE-DE>Ich gebe Ihnen noch eine Chance.
    </TrU>

    So if you have a TMX, and call it a TXT, you cannot expect Studio to import it.

    Even though I found and replaced all en-CA occurrence with en-US, the TM was still labelled en-CA when I tried to merge it with the TM labelled en-US. I gave up understanding this part...

    I don't understand what you mean either.  What do you mean by labelled?  Maybe show us the TM settings so we can see the languages in each one and we might be able to explain to you what you have done.

    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
  • Sorry, I meant "named" instead of labelled. It's just that when I try to merge the en-US TM with the en-CA TM (it's the same client), the updating  tool merges only TMs that have the same language pair.

    I tried to change the default language pair from en-CA to en-US by personalizing the variable and deleting en-CA, but en-CA won't go away! 

    Here are some screen grabs. I tried to send you TMX file in question, but the file type is not allowedGrimacing.Trados Studio translation memory settings window showing PHO_en-CA_fr-CA with source language English (Canada) and target language French (Canada).Trados Studio variables window with an entry 'English (Canada) to be deleted' and 'English (United States)' listed.

    emoji


    Generated Image Alt-Text
    [edited by: Trados AI at 2:04 PM (GMT 1) on 16 Apr 2024]