Skip to content

[FrameworkBundle] add kernel.locale_aware tag to LocaleSwitcher #48534

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

Merged
merged 1 commit into from
Dec 7, 2022

Conversation

kbond
Copy link
Member

@kbond kbond commented Dec 7, 2022

Q A
Branch? 6.1
Bug fix? yes
New feature? no
Deprecations? no
Tickets Fix #48499
License MIT
Doc PR n/a

This adds kernel.locale_aware to the LocalSwitcher service so that when autowiring LocaleAwareInterface (which is an alias for LocaleSwitcher), it has the current locale.

@kbond kbond merged commit fc10553 into symfony:6.1 Dec 7, 2022
@kbond kbond deleted the locale-switcher-fix branch December 7, 2022 15:41
@fabpot fabpot mentioned this pull request Dec 16, 2022
@fabpot fabpot mentioned this pull request Dec 28, 2022
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.

[Translation] autowiring LocaleAwareInterface does not have the current locale
4 participants