Commit 200bb3e
committed
feature #47377 [HttpKernel] Use Accept-Language header even if there are no enabled locales (MatTheCat)
This PR was squashed before being merged into the 6.2 branch.
Discussion
----------
[HttpKernel] Use Accept-Language header even if there are no enabled locales
| Q | A
| ------------- | ---
| Branch? | 6.2
| Bug fix? | no
| New feature? | no
| Deprecations? | no
| Tickets | Fix #47355
| License | MIT
| Doc PR | N/A
Don’t really know how I should consider this PR 🤔
It would affect people setting `set_locale_from_accept_language` to `true` with no `enabled_locales` when the request has a preferred language:
- before: set the default locale as request locale
- after: set the preferred language as request locale
Commits
-------
b20d074f66 [HttpKernel] Use Accept-Language header even if there are no enabled locales1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
0 commit comments