Synchronization only keeps translations for first <file> container #94
Labels
effort: high
Initial effort estimate: High
enhancement
New feature or request
priority: medium
Priority estimate: Medium
Hi,
when having an XLIFF 2.0 document with multiple containers, the synchronization of translation units will only preserve existing translations for the first container, but not for the subsequent containers.
The XLIFF documentation clearly says that the use of multiple containers is allowed (http://docs.oasis-open.org/xliff/xliff-core/v2.0/os/xliff-core-v2.0-os.html#d0e1524).
I guess that e.g.
xlf-documents.ts
line 131 simply only considers the first node:const fileNode = this.getNode('file', this.root);
A simple example is attached; synchronization of the de-DE file will show the effect.
localization.base.zip
Resolving this would be super helpful for larger projects!
The text was updated successfully, but these errors were encountered: