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

Cache language more intentionally #660

Merged
merged 2 commits into from
Feb 1, 2025
Merged

Conversation

wbazant
Copy link
Collaborator

@wbazant wbazant commented Jan 8, 2025

Closes #656

Only when dropdown changes, or when logging in
Clear on log out
@wbazant
Copy link
Collaborator Author

wbazant commented Feb 1, 2025

Tested as:

  • started with site in French
  • logged in and changed the language to English
  • refreshed - the page stayed as English
  • changed to French
  • refreshed - the page staged as French
  • logged out
  • refreshed - the page changed to English (my browser language).

@wbazant wbazant merged commit 9f58383 into falling-fruit:main Feb 1, 2025
1 check 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.

Unexpected behavior of automatic locale selection
1 participant