Skip to content

Conversation

nicolas-grekas
Copy link
Member

Q A
Branch? master
Bug fix? no
New feature? yes
Deprecations? no
Tickets -
License MIT
Doc PR -

No need to configure the same requirements for _locale in all routes any more thanks to the framework.translator.enabled_locales config option introduced in #32433.

@fabpot
Copy link
Member

fabpot commented Feb 4, 2020

Thank you @nicolas-grekas.

fabpot added a commit that referenced this pull request Feb 4, 2020
…ales to build routes' default "_locale" requirement (nicolas-grekas)

This PR was merged into the 5.1-dev branch.

Discussion
----------

[FrameworkBundle] use framework.translator.enabled_locales to build routes' default "_locale" requirement

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | yes
| Deprecations? | no
| Tickets       | -
| License       | MIT
| Doc PR        | -

No need to configure the same requirements for `_locale` in all routes any more thanks to the `framework.translator.enabled_locales` config option introduced in #32433.

Commits
-------

5eebd37 [FrameworkBundle] use framework.translator.enabled_locales to build routes' default "_locale" requirement
@fabpot fabpot merged commit 5eebd37 into symfony:master Feb 4, 2020
@nicolas-grekas nicolas-grekas deleted the fwb-enabled-locales branch February 5, 2020 12:31
@nicolas-grekas nicolas-grekas modified the milestones: next, 5.1 May 4, 2020
@fabpot fabpot mentioned this pull request May 5, 2020
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.

3 participants