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

Implement Persistent Language Selection for User Convenience #6466

Open
4 tasks done
janvanveldhuizen opened this issue Dec 8, 2023 · 0 comments
Open
4 tasks done
Labels
change request Issue requests a new feature or improvement

Comments

@janvanveldhuizen
Copy link
Contributor

janvanveldhuizen commented Dec 8, 2023

Context

I have a website in three languages, where English is the default.
When users prefer a different language, they have to switch to that language each time they return to the website.

Description

I'd like the language selector follow this pattern:

  • select the language that was selected when the user closed the website (possibly using localStorage?)
  • (optionally) if that selection is not available, select the language from the browser settings language
  • if that is not available, use the default language

Related links

Use Cases

When a Dutch user goes to my website, and he doesn't understand English very well, then it is annoying that he has to switch to Dutch each time he comes back to the website.

Visuals

No response

Before submitting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
change request Issue requests a new feature or improvement
Projects
None yet
Development

No branches or pull requests

2 participants