Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding format=symfony for imports #64

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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