Opened 6 years ago

Last modified 5 years ago

#1836 new improve feature

Save preferred language in cookie

Reported by: globetrotter_tt Owned by:
Priority: minor Milestone: unassigned
Component: BW Internationalization Keywords: language, cookie, preferences
Cc: beatnickgr


user bug report:

When signing out from the site it changes languages.

It would be convenient if you saved the preferred language in a cookie so that the site was still in English (instead of in Russian) when I sign out.

If there are privacy concerns with this, maybe it could be an opt-in feature (although it would be good to keep the settings pages as clean as possible), although I personally don’t see there should be privacy concerns with it.

Change History (7)

comment:1 Changed 6 years ago by beatnickgr

Hm. when we sign out, the site is in English, not to the local language. I don't know how he managed to have russion while signed out.

I think that when we're signout out, we should have the local language, based on our IP. And when we make a new account, the local language should be the default. (why am i translating everything to greek, if greeks see the content in english?)

comment:2 Changed 6 years ago by shevek

Well as a tor user that suggestion is a bit surprising beatnickgr. You likely end up with German instead of Greek :-)

The language is determined based on the User Agent string. If that contained Russian s/he ends up with Russian as the primary language.

So it boils down to a browser setting. Firefox offers to set the preferred languages. I guess others do that as well.

Frankly even in a completely different language everyone should be able to login. So what's the point of changing anything here?

comment:3 Changed 6 years ago by shevek

A short addition: If we'd do that and someone uses BW in an internet cafe the next user might be a bit surprised...

Also it's probably not a good idea if someone lets someone use their computers to switch languages after log-off.

comment:4 Changed 6 years ago by beatnickgr

99% of users do not use TOR, and i do not use TOR to access BeWelcome (i have it only for untrusted sites as CS). I do not make suggestions based on my personnal preferences, but how to make it more user-friendly for non-geeks who have windows and internet explorer.

  • When a user opens the site, and before logging in, he should see the local language, either based on the IP or on the computer language (if technically possible). He will have the oportunity to change the language BEFORE loging in/signing up.
  • When he signs up, he should have the local language as default.
  • He can later change his language in preferences.
  • When he logs out, the language should go back to local.

Related ticket

Last edited 6 years ago by beatnickgr (previous) (diff)

comment:5 Changed 6 years ago by beatnickgr

  • Cc beatnickgr added

comment:6 Changed 5 years ago by Tsjoek

  • Component changed from unknown to BW Internationalization
  • Type changed from unknown to improve feature

comment:7 Changed 5 years ago by shevek

Since #2091 people get the local language set automatically on first login. Additionally they are informed how to change the setting if they don't like it.

I propose to change this ticket therefore.

Note: See TracTickets for help on using tickets.