Skip to content

Conversation

smnandre
Copy link
Member

@smnandre smnandre commented Apr 3, 2024

Q A
Branch? 6.4
Bug fix? yes
New feature? no
Deprecations? no
Issues Fix issue 1505 (from Symfony demo)
License MIT

LocaleSwitcher::setDefault() throw an exception when intl is not installed

"The Symfony\Polyfill\Intl\Icu\Locale::setDefault() is not implemented. Please install the "intl" extension for full localization capabilities."

Fixed by following @stof suggestion

Symfony should ignore this in the LocaleSwitcher, as already done in \Symfony\Component\HttpFoundation\Request::setLocale

@nicolas-grekas
Copy link
Member

Thank you @smnandre.

@nicolas-grekas nicolas-grekas merged commit ff77282 into symfony:6.4 Apr 3, 2024
This was referenced Apr 29, 2024
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.

4 participants