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

Remember language choice #1827

Open
deivid-rodriguez opened this issue Sep 10, 2018 · 5 comments
Open

Remember language choice #1827

deivid-rodriguez opened this issue Sep 10, 2018 · 5 comments

Comments

@deivid-rodriguez
Copy link
Contributor

Every time I visit ruby-lang.org, I get redirected to https://www.ruby-lang.org/es/, I guess because Spanish is the language of my browser. Since the Spanish translation is always outdated, I have to go to the footer or directly edit the URL to switch to English.

It'd be nice if either my choice would be remembered through a cookie or something, or that the browser language auto-detection was turned off, given that the translations are usually very outdated.

Thanks a lot!

@olivierlacan
Copy link
Contributor

The site already has a ton of cookies, I don't see why we couldn't store a language preference as well despite @stomar's objection in #1828 (comment).
image

@deivid-rodriguez
Copy link
Contributor Author

Is there any plan to fix this? I'm happy to try to help myself!

@ismailarilik
Copy link
Member

I don't agree with the objection. Browsers should open the locale of course. If the language was persistent then changing locale wouldn't mean anything. If you always want the English site then put a bookmark.

@deivid-rodriguez
Copy link
Contributor Author

If the language was persistent then changing locale wouldn't mean anything.

What do you mean by this? Of course, the choice should be persistent until you make a different choice in the future. In that case, the next choice should be the new default.

@deivid-rodriguez
Copy link
Contributor Author

This is how multi language sites usually work, since it's user friendly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants