-
Bug
-
Resolution: Fixed
-
None
-
Medium
-
Improved error message when importing a xliff2-file without okapi
-
Emptyshow more show less
Problem
When Importing a xliff2-file, this ends up in error with default configuration:
XLF Parser supports only XLIFF Version 1.1 and 1.2, but the imported xliff tag does not match that criteria: <xliff xmlns="urn:oasis:names:tc:xliff:document:2.0" srcLang="de" trgLang="en" version="2.0">

This can be solved by configuring OKAPI to handle the import.
Solution
What needs to be done in Translate5 is, that the above shown error does not give a hint on how OKAPI must/can be configured to handle XLIFF2 files.
Therefore the above error must be modified. Best solution would be to add a message,
"Only XLF 1.1 and 1.2 are natively supported. You can use OKAPI to import XLIFF Version 2 files"
And link this to a new confluence page where it's shown how OKAPI must be configured to handle XLIFF2 files.
Short description of what need to be shown on this confluence page:
- if no own bconf, clone the default.
- customize filter of this bconf
- connect "xlf, xliff" with filter "okf_autoxliff@okf_autoxliff"
After setting up the confluence page, please inform Marion Gubler to review the page.
Appendix
Here's a sample xliff2 file for testing:
Xliff-Version-2.xliff![]()
- relates to
-
TRANSLATE-4638 Support MRK tags x-generic in XLF import
- Done