-
Notifications
You must be signed in to change notification settings - Fork 18
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
Interpolations are not normalized #98
Comments
@mbey-mw thanks for this issue and the PR!
|
|
Alternatively, an option to switch on attribute sorting could also be introduced. How would that be? Default value would be false / off. -> |
Describe the bug
Source of the problem can be seen after saving a translation with lokalize (23.08.1) where the following happens:
Interpolations in source/target are not normalized when converted to strings which will be compared. This can result in reset state of the translated targets or other constant changes when modifying translations.
Expected behavior
The order of attributes in the x tags makes no change to the comparison result. The normalization process could simply sort the attributes.
Version (please complete the following information):
The text was updated successfully, but these errors were encountered: