Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

XLIFF files? identifying the sections that need to be translated

aehrenwo
11 - Bolide

Has anyone every parsed an XLIFF file? Here is a sample of the code --- based on XML formatting. I know there are vendors that can process these, but I am looking for a way to pull out what needs to be translated and put it back in using Alteryx.  The file I have it way more complex as it as an export from a learning module tool. 

 

<?xml version="1.0" encoding="UTF-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" version="1.2">
    <file datatype="plaintext" original="self" source-language="en" target-language="de">
        <header>
            <sxmd:metadata xmlns:sxmd="urn:x-sap:mlt:xliff12:metadata:1.0" xmlns="urn:x-sap:mlt:tsmetadata:1.0">
                <object-name>tutorial1</object-name>
                <collection>SHOPS</collection>
                <domain>CA</domain>
                <developer>A180987</developer>
                <description>XLIFF file for shop app</description>
            </sxmd:metadata>
        </header>
        <body>
            <trans-unit id="hello_world" xmlns:sap="urn:x-sap:sls-mlt">
                <source>Hello world!</source>
                <target>Hallo Welt!</target>
            </trans-unit>
            <trans-unit id="file_menu" xmlns:sap="urn:x-sap:sls-mlt" restype="caption">
                <source>File</source>
                <target>Datei</target>
            </trans-unit>
            <trans-unit id="file_menu_new" xmlns:sap="urn:x-sap:sls-mlt" restype="menuitem">
                <source>New</source>
                <target>Neu</target>
            </trans-unit>
            <trans-unit id="file_menu_exit" xmlns:sap="urn:x-sap:sls-mlt" sap:sc="XMIT">
                <source>Exit</source>
                <target>Beenden</target>
            </trans-unit>
        </body>
    </file>
</xliff>

 

1 REPLY 1
apathetichell
18 - Pollux

If your Alteryx is solid  you can try to reverse engineer something like this: 

https://github.com/locize/xliff

 

I don't know of anything out of the box. I usually go the reverse direction (Alteryx to XML/SOAP)

Labels