Skip to content

Translation broken, ext-intl or symfony/polyfill-intl-messageformatter should be required in composer #1026

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

Closed
vjandrea opened this issue Sep 11, 2019 · 1 comment · Fixed by #1031
Labels

Comments

@vjandrea
Copy link

New installation using composer create-project, when I open the demo in the browser I get:

An exception has been thrown during the rendering of a template ("Cannot parse message translation: please install the "intl" PHP extension or the "symfony/polyfill-intl-messageformatter" package.").

Please add a requirement for ext-intl or symfony/polyfill-intl-messageformatter in composer.json. If you want I can submit a PR.

@stof
Copy link
Member

stof commented Sep 11, 2019

We should add a requirement on the polyfill, so that the demo keeps working without ext-intl

sayjun0505 added a commit to sayjun0505/sym_proj that referenced this issue Apr 16, 2023
This PR was merged into the master branch.

Discussion
----------

require symfony/polyfill-intl-messageformatter

Fixes symfony/demo#1026

Commits
-------

1dffa66 require symfony/polyfill-intl-messageformatter
spider-yamet added a commit to spider-yamet/sym_proj that referenced this issue Apr 16, 2023
This PR was merged into the master branch.

Discussion
----------

require symfony/polyfill-intl-messageformatter

Fixes symfony/demo#1026

Commits
-------

1dffa66 require symfony/polyfill-intl-messageformatter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants