Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Set a language cookie with ?lang= GET parameter in any controller #2480

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment
Closed

Comments

@openstreetmap-trac
Copy link

Reporter: avarab[at]gmail.com
[Submitted to the original trac issue database at 12.31am, Friday, 20th November 2009]

I'd like to link to http://openstreetmap.org/?lang=is or http://openstreetmap.org/user/new?lang=is to show anonymous users who don't have Accept-Language properly set up how the website looks like in Icelandic.

If the user would visit /user/new?lang=is the website should set a cookie with lang=is and redirect to /user/new. The cookie would take precedence over Accept-Language but not the user language, if the user then signs in.

If someone with a lang=is cookie creates a new user "is" should be added to the front of the list of languages in preferences.

If all this were implemented I and others could point users to the OpenStreetMap website, the users would see it in their native language and after they sign up it would continue to work in their native language as expected.

@openstreetmap-trac
Copy link
Author

Author: TomH
[Added to the original trac issue at 7.05pm, Friday, 20th November 2009]

This is basically covering the same ground as case #1941.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant