Opened 12 years ago
Last modified 10 years ago
#247 accepted enhancement
Add a language selector
|Reported by:||Aleksej||Owned by:|
Please add a way to change UI language, overriding Accept-Language. E.g. a drop-down and/or an URL piece.
Change History (8)
comment:1 by , 12 years ago
comment:2 by , 12 years ago
Jef, do you think adding a language dropdown in the user profile editor would be an appropriate solution for now?
comment:3 by , 12 years ago
By the way... I forgot that I added this feature, but for quick "testing" of pages, you can do: `http://omgmg.dyndns.org:6543/auth/login/?lang=eo <http://omgmg.dyndns.org:6543/auth/login/?lang=eo>`_ ?lang=lang\_code It won't stay persistent, but might help while debugging, or linking a specific page with a specific language.
comment:4 by , 11 years ago
The original url for this bug was http://bugs.foocorp.net/issues/578 .
comment:5 by , 11 years ago
|Type:||defect → enhancement|
comment:6 by , 10 years ago
Hi, the backend work for this is all in. We will display languages in this order:
1) ?lang=ru parameter (either GET or POST)
2) use the "target_lang" variable in the session object (which is never set so far)
3) based on browser preference
So we clearly need to improve case 2), so that a user can set a preferred language in her account settings.
comment:7 by , 10 years ago
Wikimedia Commons shows the language with ?uselang=, but keeps it between pages using something else (for a logged-out user).
comment:8 by , 10 years ago
Having a language preference for logged in users would be really helpful for making sure that any communications sent to those users are in their preferred language (see #504). I could see this have both of those implementations.
Adding it as a field for when someone registers would also be helpful.