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

Add control to set the locale #6191

Closed
quincylvania opened this issue Apr 16, 2019 · 2 comments
Closed

Add control to set the locale #6191

quincylvania opened this issue Apr 16, 2019 · 2 comments
Labels
localization Adapting iD across languages, regions, and cultures usability An issue with ease-of-use or design

Comments

@quincylvania
Copy link
Collaborator

Now that iD accepts a URL parameter to set the locale, there could be times where a user follows a link to iD set in an unfamiliar locale. Most users wouldn't know how to remove the URL parameter and reload the page. We should add a control to make it easier to change this value. We could force iD to reload after a change in order to avoid showing stale strings.

Giving users control over the locale at all has been debated, but I see the following advantages:

  • We can make it quicker and more reliable to switch locales directly in iD than in the user's OSM account, browser, or device preferences.
  • iD may be used in unexpected environments where an external locale is not passed in.
  • This could be a basis for advanced behavior, like setting a preferred fallback locale other than English.
@quincylvania quincylvania added localization Adapting iD across languages, regions, and cultures usability An issue with ease-of-use or design labels Apr 16, 2019
@tordans
Copy link
Collaborator

tordans commented Apr 16, 2019

I wonder where such a UI would be located – there are no user settings in iD, yet.

For the usecase you describe – an external URL with an undesired locale – the UI would need to be very prominent / easy to find to solve the issue.

Another complexity is, that iD on osm.org is integrated in the information architecture and settings of the site. Which would be the first place to look for such a control/link.

I wonder …

  • … are there (relevant) iD integrations outside of osm.org; so would the solution need to be great for stand alone + osm.org-IA; or even other site-contexts as well; or only for a standalone-iD-setup?
  • … is this really an issue? Until now, the locale-param is super hidden (only those who know the API-doc know about it); are you aware of integrations that use it extensively? IMO it's just a debugging/advanced user feature ATM.

@bhousel
Copy link
Member

bhousel commented Apr 16, 2019

this is also #3120

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
localization Adapting iD across languages, regions, and cultures usability An issue with ease-of-use or design
Projects
None yet
Development

No branches or pull requests

3 participants