Problem parsing bilingual XML file

I am trying to parse a bilingual XML resource file, en > ja. The Passolo help suggests that it is possible:

docs.sdl.com/.../GUID-A511AE39-6830-4913-A63F-6A77BF3F2D9B

However, I cannot seem to to separate the source from the target in the target string list, and get the target strings in both English and Japanese columns in the string list.

This is a sample of what I have:

<description id="charsetName" description="Character set">
<translation langid="ja" description="文字セット" />
</description>
<description id="charsetDesc" description="Defines the character set of the environment.">
<translation langid="ja" description="環境の文字セットを定義します。" />
</description>
<description id="asciiName" description="ASCII">
<translation langid="ja" description="ASCII" />
</description>
<description id="ebcdicName" description="EBCDIC">
<translation langid="ja" description="EBCDIC" />
</description>

Can anyone help me with the XML parser please?

Thanks

Parents Reply
  • I resolved the issue by reformatting the XML to elements for content instead of attributes (as had been supplied):

    <description id="charsetName">
    <target langid="en">Character set</target>
    <target langid="ja">文字セット</target>
    </description>

    <description id="charsetDesc">
    <target langid="en">Defines the character set of the environment.</target>
    <target langid="ja">環境の文字セットを定義します。</target>
    </description>

    and used this parser:

    Trados Studio Tree View showing Definitions with Language and Data Element nodes.

    Now all I need to do is to persuade developers to reformat their XML! :-)

     

    Thanks again.

     

    emoji


    Generated Image Alt-Text
    [edited by: Trados AI at 5:16 AM (GMT 0) on 5 Mar 2024]
Children
No Data