importing "bitexts" into TM

Is there anyway to quickly import two-column files (in this case, in "bitext" format, created using Logiterm) into a Studio TM, without first converting them to another TM?

As I do this quite often, I'd like to basically do it "on the fly". 

Thanks,

emoji
Parents Reply Children
  •   

    Wanted to have a little play with this so you might find this helpful too:

    https://github.com/paulfilkin/Powershell_scripts/blob/main/mAT_Studio_Powershell/Scripts/06_upgradeBitexts.ps1

    I based the script on a sample bitext format like this:

    So you'll probably need to amend it, but the script is all powershell and does this:

    1. Prompts the user to select a Bitext XML file using a file picker dialog.
    2. Converts the Bitext XML into a valid TMX file.
    3. Automatically detects source and target languages from the TMX.
    4. Prompts the user to confirm or update language codes.
    5. Creates an SDLTM in the same directory as the input file.
    6. Imports all TMX content into the new SDLTM.

    I only tested this with my simple file, but as a POC it seems useful:

    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
  • Hello Daniel, 

    I'm not sure if I understand your question.

    I often download pairs of background documents (one in each language) for terminology. I then use the Logiterm alignment tool to create bitexts (two-column html files), which I use to create a tmx file. 

    Lastly, I import that tmx file into a Studio memory. 

    I haven't tried Paul's solution, which looks quite interesting, but I will as soon as I get caught up. 

    Alan  

    emoji
  • Thanks for going to the trouble, Paul. 

    As noted, I haven't had a chance to try this out. I guess it will take a little figuring out on my end, but it looks like it may well be worth the effort. 

    Thanks again, 

    emoji