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
Preferred Language "de-DE" (in Openstreetmap.org/My Settings/Preferred Languages) is not recognised as German while "de" is #2528
Comments
|
Same for Me. |
|
I have the same problem with Firefox 35.0.1 on Windows 7. |
|
If I set Openstreetmap.org . "My Settings" / "Einstellungen" .
THEN I get similar result. Can you provide
maybe related to this #723 2 language file exists: |
|
My browser language is "DE". |
|
switching to the preferred language "de" will work for ID. |
|
My OSM-Language-Settings were "de-DE,de,en-US,en", After changing to "de,de-DE,en-US,en" iD shows the German menu. My browser language code is "en-US". |
|
It looks like the last time I ran The quick fix is to just remove the empty files.. The better fix is maybe: if detecting a culture code (e.g. @jfirebaugh thoughts? |
|
Ideally we would follow the user's preferred fallback order, e.g. |
|
The rails site is only sending us the first one from the list... |
|
It is probably better for you to be consistent with what we do for the web site code though - we select the primary locale by matching against the user's list but once we have done that we don't do any fallback along that list. We do however fallback from de-DE to de. Falling back along the user's language list could give really weird results if they have listed a number of unrelated languages that they happen to speak. So basically we choose a language, and set it in |
|
For now I have removed all the empty locales from iD in the web site repository, namely:
|
|
I've removed de-DE, en-DE, km-KH, ru-RU, sq-AL, sr-RS, and zh-CN.GB2312 on Transifex -- those were probably a misunderstanding. Keeping the empty language code ones, someone might actually want to start translating those. We might want to drop empty translations in the processing script on the iD side though. |
|
Now the behavior is as expected on www.openstreetmap.org. Just tested for de-DE. Who does close this issue? |
The issue can stay open, because removing the empty translation files is not a permanent fix. (It may pop up again next time we release). |
|
I have created a simple statisctics from changesets for iD Editor - locale : |
User Interface is german in the first line und Englisch in der zweiten Zeile.

.
Chromium Version 37.0.2062.120 Built on Debian 7.6, running on Debian 7.8 (281580) (64-bit)
Iceweasel Version 31.4.0, running on Debian 7.8 (281580) (64-bit)
Safari on iOS 8.1.3
The text was updated successfully, but these errors were encountered: