Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[TwigBridge] AddAppVariable::getEnabledLocales()#50321

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fabpot merged 1 commit intosymfony:6.4fromjmsche:feature/twig-enabled-locales
Oct 1, 2023

Conversation

@jmsche
Copy link
Contributor

QA
Branch?6.4
Bug fix?no
New feature?yes
Deprecations?no
TicketsN/A
LicenseMIT
Doc PRsymfony/symfony-docs#...

This PR aims to provide a newapp.enabled_locales getter for templates to retrieve the enabled locales configured using theframework.enabled_locales configuration, to make e.g. a locale switcher in the templates without to have to pass the enabled locales using e.g. a Twig global.

The docs PR will me made if the PR is accepted.

Targeting the 6.3 branch for now, will switch to 6.4 when it will be available (as feature freeze is active since late March).

JuGa013, SVillette, and sstok reacted with thumbs up emoji
@carsonbot
Copy link

Hey!

Thanks for your PR. You are targeting branch "6.3" but it seems your PR description refers to branch "6.4".
Could you update the PR description or change target branch? This helps core maintainers a lot.

Cheers!

Carsonbot

@jmsche
Copy link
ContributorAuthor

CI failures seem unrelated.

@nicolas-grekasnicolas-grekas modified the milestones:6.3,6.4May 23, 2023
@fabpot
Copy link
Member

Thank you@jmsche.

@fabpotfabpotforce-pushed thefeature/twig-enabled-locales branch fromf4f39d2 to3e1925cCompareOctober 1, 2023 16:37
@fabpotfabpot merged commit73a3f78 intosymfony:6.4Oct 1, 2023
This was referencedOct 21, 2023
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

@ycerutoycerutoAwaiting requested review from ycerutoyceruto is a code owner

Assignees

No one assigned

Projects

None yet

Milestone

6.4

Development

Successfully merging this pull request may close these issues.

4 participants

@jmsche@carsonbot@fabpot@nicolas-grekas

[8]ページ先頭

©2009-2025 Movatter.jp