Skip to content

Conversation

timwhitlock
Copy link

This is required for XLIFF 2.0 files produced by Symfony's XliffFileDumper.

The name attribute is only rendered when the translation key is 80 bytes or less.

When absent, Loco's standard XLIFF parser would fall back to the id attribute in order to establish the unique translation key. The format=symfony parameter overrides this behaviour, ensuring that the key is taken from the <source> element as per Symfony's use of XLIFF.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant