-
Notifications
You must be signed in to change notification settings - Fork 53
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
Each <trans-unit> sets "approved=yes" for untranslated strings #136
Comments
So, in other words, 'approved' attribute should be set to 'no' regardless of the fuzzy status if the translation ( |
Well, not quite. The
I was suggesting omitting it entirely when no translation exists because it's irrelevant. However, since the default for |
Background
This is a bug.
According to the XLIFF file spec, the
approved
attribute on the<trans-unit>
element tracks an approvers "final review" status (Source):However, the current implementation of the
serialize_xliff.pm
XLIFF serializer setsapproved=yes
for any string that isn't fuzzy-matched to an existing translated string (Source).This doesn't make sense. We shouldn't be setting the
approved
attribute at all in situations where the string hasn't been translated - fuzzy matched or not. There's nothing that can be "approved" at that point.Task
Update the
serialize_xliff.pm
serializer to no longer set this attribute if the string isn't translated at all.The text was updated successfully, but these errors were encountered: