-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Closed
Labels
Description
Right now, the behavior of the XLIFF loader is to use the content of the <source>
element as the id, and not the id attribute of the <trans-unit>
element. This creates problems for people that adhere to the specification where the id is meaningful.
For example:
<trans-unit id="form.label.firstname">
<source>Firstname</source>
</trans-unit>
The loader would now take "Firstname" as id, and not "form.label.firstname" as you would expect. Since changing this would be a BC break, I'd like to know what others think about this?