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

Add "symfony/polyfill-intl-messageformatter" to Composer Dependencies #171

Open
IGLOU-EU opened this issue Oct 14, 2024 · 1 comment
Open
Labels
dependencies Pull requests that update a dependency file enhancement New feature or request

Comments

@IGLOU-EU
Copy link

IGLOU-EU commented Oct 14, 2024

Hello team,

I encountered an issue during a fresh installation where the following error message was displayed:

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.").

Environment:

  • Davis 5.x
  • PHP Version: 8.3
  • Hosting: Shared hosting (intl extension not available)

Proposed Solution:
To resolve this, I suggest adding "symfony/polyfill-intl-messageformatter" to the Composer dependencies. This will provide a fallback for systems where the intl PHP extension is unavailable.

Thank you.

@tchapi
Copy link
Owner

tchapi commented Oct 15, 2024

Hi @IGLOU-EU

What kind of shared hosting doesn't provide php-intl 😨 ? Can you make a PR adding the polyfill please?

@tchapi tchapi added enhancement New feature or request dependencies Pull requests that update a dependency file labels Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants