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

[Translation] make intl+icu format seamless by handling it in MessageCatalogue #29220

Merged
merged 1 commit into from Nov 15, 2018

Conversation

nicolas-grekas
Copy link
Member

@nicolas-grekas nicolas-grekas commented Nov 14, 2018

Q A
Branch? 4.2
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #29136
License MIT
Doc PR -

Copy link
Contributor

@gharlan gharlan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It fixes my issue (tested profiler and command debug:translation)
Thanks @nicolas-grekas!

@nicolas-grekas
Copy link
Member Author

Now with tests. PR ready.

@stof
Copy link
Member

stof commented Nov 14, 2018

@nicolas-grekas wouldn't transChoice now also go look in the Intl-ICU domain, but without switching to the Intl formatter ?

@nicolas-grekas
Copy link
Member Author

It could, but that'd mean make a new feature accessible via a deprecated API. I'd prefer not allowing it. OK for you?

@nicolas-grekas
Copy link
Member Author

OH, GOT IT.
Yes. I wouldn't care :)
New format with deprecated transChoice => not supported :)

@nicolas-grekas
Copy link
Member Author

GRR. OK, fixed. Good catch @stof :)

@nicolas-grekas nicolas-grekas merged commit c71dfb9 into symfony:master Nov 15, 2018
nicolas-grekas added a commit that referenced this pull request Nov 15, 2018
… in MessageCatalogue (nicolas-grekas)

This PR was merged into the 4.2-dev branch.

Discussion
----------

[Translation] make intl+icu format seamless by handling it in MessageCatalogue

| Q             | A
| ------------- | ---
| Branch?       | 4.2
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #29136
| License       | MIT
| Doc PR        | -

Commits
-------

c71dfb9 [Translation] make intl+icu format seamless by handling it in MessageCatalogue
@fabpot fabpot mentioned this pull request Nov 16, 2018
@nicolas-grekas nicolas-grekas deleted the translation-fix branch November 18, 2018 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants