0 Replies Latest reply on Jun 2, 2006 7:59 PM by XLIFF-Jaska

    XLIFF importing does not work properly

    XLIFF-Jaska Level 1
      Hi,

      I created a Flash file and exported strings to an XLIFF file. My original language is English. I wanted to localize the flash file to Finnish.

      So I go this English XLIFF file:
      <?xml version="1.0" encoding="UTF-8"?>
      <xliff version="1.0" xml:lang="en">
      <file datatype="plaintext" original="Simple.fla" source-language="EN">
      <header></header>
      <body>
      <trans-unit id="001" resname="IDS_ONE">
      <source>Hello World</source>
      </trans-unit>
      <trans-unit id="002" resname="IDS_TWO">
      <source>This is a sample</source>
      </trans-unit>
      </body>
      </file>
      </xliff>

      It is a proper XLIFF file. The I translated that to Finnish:

      <?xml version="1.0" encoding="UTF-8"?>
      <xliff version="1.0" xml:lang="fi">
      <file datatype="plaintext" original="Simple.fla" source-language="EN" target-language="FI">
      <header></header>
      <body>
      <trans-unit id="001" resname="IDS_ONE">
      <source>Hello World</source>
      <target>Moi maailma</target>
      </trans-unit>
      <trans-unit id="002" resname="IDS_TWO">
      <source>This is a sample</source>
      <target>Tämä on esimerkki</target>
      </trans-unit>
      </body>
      </file>
      </xliff>

      Finally I imported that to the Finnish string panel. Here is where Flash works worng. I imported the source elements from the translated file. Not the target elements what were supposed to be imported.

      Am I missing something here or is there bug in Flash XLIFF import?

      Best regards,
      Jaska