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

Use app global variable for locale #1562

Merged
merged 1 commit into from
Feb 24, 2025

Conversation

seb-jean
Copy link
Contributor

@seb-jean seb-jean commented Feb 21, 2025

I updated the code to use the new global app variable; app.locale.
URL: https://symfony.com/blog/new-in-symfony-6-3-dx-improvements-part-1#add-current-locale-to-the-app-variable

@seb-jean seb-jean changed the title refactor: Use app.locale Use app.locale Feb 21, 2025
@seb-jean seb-jean changed the title Use app.locale Use app global variable for locale Feb 21, 2025
@javiereguiluz
Copy link
Member

Another nice one. Thanks @seb-jean

@javiereguiluz javiereguiluz merged commit a185a2a into symfony:main Feb 24, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants