Skip to content
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

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

Merged
merged 1 commit into from
Feb 4, 2020

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.

None yet

3 participants