Skip to content

"Sticky Locale" not working? #10864

Closed
Closed
@beachespecially

Description

@beachespecially

Can anyone confirm that the workflow described here is still working?

I tried it with the symfony demo application, by adding a locale field to the User entity and the Locale- and UserLocaleSubscriber as shown in the article.
Now when I use the login in the demo application, the locale should be updated to the one saved in the user entity, but it stays the default locale.
After some debugging it looks like the session "_locale" never gets updated either.

Not sure if I have done something wrong or if there is a fault in the docs. If you have some pointers on where I could try to debug more, I'd be happy to do so.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions