Uploaded image for project: 'translate5'
  1. translate5
  2. TRANSLATE-2127

Xliff files with file extension xml are passed to okapi instead of translate5s xliff parser

      Please find a test xml file attached, that should be passed directly to translate5s xliff parser, but is not.

      We once hat a test for the xliff declaration inside the xml file, that decided upon the parser.

      If you import the attached test.xml file, you see, that you get an export with test.xml and test.xml.xlf inside.

      With the test.xml.xliff as import file you only get the test.xml.xliff file back in the export zip.

        1. test.xml
          0.5 kB
        2. test.xml.xliff
          0.5 kB

          [TRANSLATE-2127] Xliff files with file extension xml are passed to okapi instead of translate5s xliff parser

          aleksandar Der Import meiner Testzip funktioniert, im export sind dann aber nur die beiden xliff enthalten und nicht die xliff, die auf .xml enden im Dateinamen. Getestet auf marc.translate5.net, alles auf dem master.

          Test zip kommt per slack.

          Marc Mittag [Administrator] added a comment - aleksandar Der Import meiner Testzip funktioniert, im export sind dann aber nur die beiden xliff enthalten und nicht die xliff, die auf .xml enden im Dateinamen. Getestet auf marc.translate5.net, alles auf dem master. Test zip kommt per slack.

            aleksandar Aleksandar Mitrev
            marcmittag Marc Mittag [Administrator]
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: