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

Preserve language selection #131

Open
velduz opened this issue Oct 18, 2023 · 0 comments
Open

Preserve language selection #131

velduz opened this issue Oct 18, 2023 · 0 comments

Comments

@velduz
Copy link
Contributor

velduz commented Oct 18, 2023

I wrote some additional code to preserve the language selection, just like the site remembers the choice of light or dark mode. I think, if a user switches to a certain languages, that they want to see the same language when come back to your website next time.

See https://papasmurf.nl/en/blog/hugo_language/

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

No branches or pull requests

1 participant