davis
davis copied to clipboard
Add "symfony/polyfill-intl-messageformatter" to Composer Dependencies
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.
Hi @IGLOU-EU
What kind of shared hosting doesn't provide php-intl 😨 ? Can you make a PR adding the polyfill please?
Done in 0427628e34619faa341d0c093ecf5608669f2f37