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
  •   

    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:

    <?xml version="1.0" encoding="utf-8"?>
    <bitext>
        <record wuid="a1234567b8c9d0e1f2g3h4i5j6k7l8m9">
            <eng><![CDATA[Welcome to our website!]]></eng>
            <fra><![CDATA[Bienvenue sur notre site web !]]></fra>
            <dom><![CDATA[WEB]]></dom>
            <his><![CDATA[UA 2025/04/01]]></his>
        </record>
        <record wuid="b2345678c9d0e1f2g3h4i5j6k7l8m9n0">
            <eng><![CDATA[Please contact our support team.]]></eng>
            <fra><![CDATA[Veuillez contacter notre équipe de support.]]></fra>
            <dom><![CDATA[SUP]]></dom>
            <his><![CDATA[UA 2025/04/01]]></his>
        </record>
    </bitext>

    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
Children