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

Improve culture-specific locale detection #3842

Closed
bhousel opened this issue Feb 15, 2017 · 0 comments
Closed

Improve culture-specific locale detection #3842

bhousel opened this issue Feb 15, 2017 · 0 comments
Labels
localization Adapting iD across languages, regions, and cultures

Comments

@bhousel
Copy link
Member

bhousel commented Feb 15, 2017

I'm seeing the scale bar in metric because en appears in the list before en-US.
We should really iterate over navigator.languages and skip over a language code if a more granular culture code immediately follows.

screenshot 2017-02-15 12 49 14

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
Projects
None yet
Development

No branches or pull requests

1 participant