-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Revert #34797 "Fixed translations file dumper behavior" and fix #34713 #35351
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
Conversation
Can we somehow add a test to make sure we don't end up in the same situation once this revert is reverted again? Imho dumping a file should not flip it to |
@ruudk I'm not sure that a test can guarantee that you will end up with a percentage placeholder in a '+intl-icu' translation file.
It's not the case anymore (after reverting it). |
Which PR does it revert? |
Title and description updated with the PR number that has being reverted. |
So, it means that you are re-introducing the bug I've reported in #34713, right? |
Yes, we need to re-think another way to fix it (the current one is breaking BC). |
And it's very likely that the new way will be completely different from this one that is being reverted. That's why I'm reverting rather than fixing it. |
I also can't provide "the another way" in the near future, sorry :( |
We installed As a side effect, I noticed that our translation files are now named That means our translation files are broken because the message formatter does not recognize the %% parameters in the This happens because of We now have to update hundreds of translation keys, while we just want to use intl for the Twig number formatter. Please consider a fix. |
@XWB this PR is the fix ;) |
Thank you @yceruto. |
…fix #34713 (yceruto) This PR was squashed before being merged into the 4.4 branch. Discussion ---------- Revert #34797 "Fixed translations file dumper behavior" and fix #34713 | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | Fix #35264 | License | MIT | Doc PR | - Revert #34797 See also #35328 It's very likely that the new way will be completely different from this one that is being reverted. That's why I'm reverting rather than fixing it. Commits ------- 9ca8720 Fixed #34713 Move new messages to intl domain when possible 56e79fe Revert "Fixed translations file dumper behavior"
Revert #34797
See also #35328
It's very likely that the new way will be completely different from this one that is being reverted. That's why I'm reverting rather than fixing it.