You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my experience it's pretty common to forget update the target-language value and keep the original one (en in this case). So, could we improve lint:xliff to detect and report this error too? Question to translation and XLIFF experts:
Should we do this?
Is this really an error? The app works great even if target-language is wrong? Does Symfony ignore this? Is it on purpose or a bug too?
Are there other common XLIFF errors that we could fix too?
Thanks!
The text was updated successfully, but these errors were encountered:
This PR was squashed before being merged into the 4.1-dev branch (closes#26682).
Discussion
----------
Improved the lint:xliff command
| Q | A
| ------------- | ---
| Branch? | master
| Bug fix? | no
| New feature? | yes
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #26537
| License | MIT
| Doc PR | -
This is how it looks:

Commits
-------
6bbcc45 Improved the lint:xliff command
The
lint:xliff
command validates the XML syntax of the XLIFF translation files, but it's common to make other mistakes like the following:In my experience it's pretty common to forget update the
target-language
value and keep the original one (en
in this case). So, could we improvelint:xliff
to detect and report this error too? Question to translation and XLIFF experts:target-language
is wrong? Does Symfony ignore this? Is it on purpose or a bug too?Thanks!
The text was updated successfully, but these errors were encountered: