Skip to content

XLIFF loader behavior problematic #2252

@schmittjoh

Description

@schmittjoh

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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions