Bilingual txml file in Trados 2021

Hi!

I am trying to process a bilingual tmxl file in Trados, the file has MT applied.

I tried with the Wordfast TXML plugin but it does not show the target pretranslation. I also tried with Multilingual XML but I guess I have the wrong Xpath, it shows both source and target under the same column (source column) in Trados.

Screenshot of an XML code snippet with UTF-8 encoding and various attributes such as locale set to 'ES' for Spanish and target locale set to 'EN' for English.

How can I process this with Multilingual XML file type?

Thank you



Generated Image Alt-Text
[edited by: Trados AI at 8:11 AM (GMT 0) on 29 Feb 2024]
emoji
Parents
  •   

    I guess a couple of things:

    1. can you share what settings you used for the ML XML filetype?  If you see source and target in one column then you definitely didn't set this up correctly.
    2. if you share the file, or at least the header and a couple of lines, then we can provide much better help.  I don't really fancy retyping all of that to try and mirror your problem to test.
    emoji
  •  Hi  

    I tried different xpath for the ML XML. This is the last set up I got:

    Trados Studio Language Mapping settings showing XPath query for languages root element and language pairs Spanish (Spain) to English (United States).

    I can share the header, let me know if this helps:

    <?xml version="1.0" encoding="UTF-8"?>
    <txml version="1.0" segtype="sentence" datatype="doc" locale="ES" createdby="WF3.4.14" translateIncludeTextField="false" extractHiddenText="false" extractSmartTags="false" ignoreBilingualStyles="false" extractDropDownList="false" acceptTrackChanges="false" extractEquations="false" extractWordComments="true" office.number.extraction.regexp="^\s*+[-+.]?+\d++([-.\,()/+* ]++\d++)*+\s*+$" extractIndexMarkers="false" filters_version="6" targetlocale="EN" wordcount="9513" segmentationOnBreak="false" file_name="C:\Users\typos\Dropbox\Clientes.docx" numberExtraction="false" temp_file_name="C:\Users\typos\.wf_workspace\temp\temp_3979318068866938885.tmp" file_extension="docx" file_md5sum="e95370d4fe21c3c14453edb15253d15c" editedby="WF3.4.14"><translatable blockId="0" wordcount="1"><segment segmentId="1"><source><ut type="content" x="1">&lt;fontformat color="34#42#53#255" highlight="0#0#0" backgroundShadow="0#0#0" foregroundShadow="0#0#0" name="Cambria" biName="Times New Roman" size="16.0" hidden="false"&gt;&lt;b&gt;</ut>MEMORIAS<ut type="content" x="2">&lt;/fontformat&gt;&lt;fontformat color="0#0#0" highlight="0#0#0" backgroundShadow="0#0#0" foregroundShadow="0#0#0" name="Cambria" biName="Times New Roman" size="16.0" hidden="false"&gt;</ut> <ut type="content" x="3">&lt;/b&gt;&lt;/fontformat&gt;</ut></source><target score="100" seginfo="&lt;root username=&quot;typos&quot; tool-name=&quot;WF&quot; tool-version=&quot;3.4.14&quot; timestamp=&quot;20220901T212337Z&quot;/&gt;" creationid="typos" creationdate="20220901T212337Z"><ut type="content" x="1">&lt;fontformat color="34#42#53#255" highlight="0#0#0" backgroundShadow="0#0#0" foregroundShadow="0#0#0" name="Cambria" biName="Times New Roman" size="16.0" hidden="false"&gt;&lt;b&gt;</ut>AIDE-MEMOIRES<ut type="content" x="2">&lt;/fontformat&gt;&lt;fontformat color="0#0#0" highlight="0#0#0" backgroundShadow="0#0#0" foregroundShadow="0#0#0" name="Cambria" biName="Times New Roman" size="16.0" hidden="false"&gt;</ut> <ut type="content" x="3">&lt;/b&gt;&lt;/fontformat&gt;</ut></target><revisions/></segment></translatable><translatable blockId="1" wordcount="3"><segment segmentId="1"><ws><ut type="content" x="1">&lt;fontformat color="0#0#0" highlight="0#0#0" backgroundShadow="0#0#0" foregroundShadow="0#0#0" name="Cambria" biName="Times New Roman" size="14.0" hidden="false"&gt;&lt;b&gt;</ut></ws><source>Serie de webinars</source><ws><ut type="content" x="2">&lt;/b&gt;&lt;/fontformat&gt;</ut></ws><target score="100" seginfo="&lt;root username=&quot;typos&quot; tool-name=&quot;WF&quot; tool-version=&quot;3.4.14&quot; timestamp=&quot;20220901T212337Z&quot;/&gt;" creationid="typos" creationdate="20220901T212337Z">Webinar series</target><revisions/></segment></translatable>

    Otherwise, I can send you the file.

    Thank you

    emoji


    Generated Image Alt-Text
    [edited by: Trados AI at 8:11 AM (GMT 0) on 29 Feb 2024]
Reply
  •  Hi  

    I tried different xpath for the ML XML. This is the last set up I got:

    Trados Studio Language Mapping settings showing XPath query for languages root element and language pairs Spanish (Spain) to English (United States).

    I can share the header, let me know if this helps:

    <?xml version="1.0" encoding="UTF-8"?>
    <txml version="1.0" segtype="sentence" datatype="doc" locale="ES" createdby="WF3.4.14" translateIncludeTextField="false" extractHiddenText="false" extractSmartTags="false" ignoreBilingualStyles="false" extractDropDownList="false" acceptTrackChanges="false" extractEquations="false" extractWordComments="true" office.number.extraction.regexp="^\s*+[-+.]?+\d++([-.\,()/+* ]++\d++)*+\s*+$" extractIndexMarkers="false" filters_version="6" targetlocale="EN" wordcount="9513" segmentationOnBreak="false" file_name="C:\Users\typos\Dropbox\Clientes.docx" numberExtraction="false" temp_file_name="C:\Users\typos\.wf_workspace\temp\temp_3979318068866938885.tmp" file_extension="docx" file_md5sum="e95370d4fe21c3c14453edb15253d15c" editedby="WF3.4.14"><translatable blockId="0" wordcount="1"><segment segmentId="1"><source><ut type="content" x="1">&lt;fontformat color="34#42#53#255" highlight="0#0#0" backgroundShadow="0#0#0" foregroundShadow="0#0#0" name="Cambria" biName="Times New Roman" size="16.0" hidden="false"&gt;&lt;b&gt;</ut>MEMORIAS<ut type="content" x="2">&lt;/fontformat&gt;&lt;fontformat color="0#0#0" highlight="0#0#0" backgroundShadow="0#0#0" foregroundShadow="0#0#0" name="Cambria" biName="Times New Roman" size="16.0" hidden="false"&gt;</ut> <ut type="content" x="3">&lt;/b&gt;&lt;/fontformat&gt;</ut></source><target score="100" seginfo="&lt;root username=&quot;typos&quot; tool-name=&quot;WF&quot; tool-version=&quot;3.4.14&quot; timestamp=&quot;20220901T212337Z&quot;/&gt;" creationid="typos" creationdate="20220901T212337Z"><ut type="content" x="1">&lt;fontformat color="34#42#53#255" highlight="0#0#0" backgroundShadow="0#0#0" foregroundShadow="0#0#0" name="Cambria" biName="Times New Roman" size="16.0" hidden="false"&gt;&lt;b&gt;</ut>AIDE-MEMOIRES<ut type="content" x="2">&lt;/fontformat&gt;&lt;fontformat color="0#0#0" highlight="0#0#0" backgroundShadow="0#0#0" foregroundShadow="0#0#0" name="Cambria" biName="Times New Roman" size="16.0" hidden="false"&gt;</ut> <ut type="content" x="3">&lt;/b&gt;&lt;/fontformat&gt;</ut></target><revisions/></segment></translatable><translatable blockId="1" wordcount="3"><segment segmentId="1"><ws><ut type="content" x="1">&lt;fontformat color="0#0#0" highlight="0#0#0" backgroundShadow="0#0#0" foregroundShadow="0#0#0" name="Cambria" biName="Times New Roman" size="14.0" hidden="false"&gt;&lt;b&gt;</ut></ws><source>Serie de webinars</source><ws><ut type="content" x="2">&lt;/b&gt;&lt;/fontformat&gt;</ut></ws><target score="100" seginfo="&lt;root username=&quot;typos&quot; tool-name=&quot;WF&quot; tool-version=&quot;3.4.14&quot; timestamp=&quot;20220901T212337Z&quot;/&gt;" creationid="typos" creationdate="20220901T212337Z">Webinar series</target><revisions/></segment></translatable>

    Otherwise, I can send you the file.

    Thank you

    emoji


    Generated Image Alt-Text
    [edited by: Trados AI at 8:11 AM (GMT 0) on 29 Feb 2024]
Children