Details
-
Task
-
Resolution: Unresolved
-
None
-
None
-
Critical
-
Empty show more show less
Description
The protectTags feature is not reflected in package export and re-import.
Normal Im- and Export:
With protectTags enabled, the following content is importable in translate5:{}
<source><b>Test</b></source>
will be imported to:
<internaltag for b open>Test<internaltag for b close>
And on export the content looks again like:
<target><b>Test</b></target>
Needed changes for package export and re-import:
- On package export the internal tag should be exported as bpt/ept/ph tag containing the encoded original tag - currently this is not the case and the so exported XLF is not really usable in third party software
- Distinguish with export context (editor_Models_Export::EXPORT_PACKAGE)
- Export should look like (valid btp/ept tags with attributes etc)
<target><bpt><b></bpt>Test<ept></b></ept></target>
- Re-Import should handle the tag, so that it finally the original tag is stored (distinguishable since protectTags in task config is true), in other words only the content between bpt and ept should be used, not the bpt / ept itself.
Attachments
Issue Links
- relates to
-
TRANSLATE-3117 translator package
- Done