-
-
Notifications
You must be signed in to change notification settings - Fork 341
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
Norwegian Bokmål has "no" code in iD and presets imported from iD, Android expects "nb" code and fails to use iD preset data #3890
Comments
Can you elaborate? What search field? |
Norwegian may be a problem here - see https://en.wikipedia.org/wiki/Norwegian_language_conflict There are at least two Norwegian languages https://en.wikipedia.org/wiki/Bokm%C3%A5l (nb code) and https://en.wikipedia.org/wiki/Nynorsk (nn code) There are several possibilities, the most likely are: (1) Norwegian is not yet translated or was translated recently for iD presets, SC should reimport this data. Disproved by (2) Norwegian multilanguage mess is impacting SC Bakeri is listed in Note that iD appears to not have "Bakery" translated in Nynorsk so it will remain affected by (1) problem no matter what SC will do until translation of iD presets is improved (see https://github.com/openstreetmap/id-tagging-schema#translations ) |
It fixes problem in Android version which I used for tests As bonus, it may depend on Android version, I am trying to check has handling of Norwegian changed in past... |
As browsers use But using in Android is a bug. I think that optimal solution is to add an extra step in https://github.com/streetcomplete/StreetComplete/blob/master/buildSrc/src/main/java/UpdatePresetsTask.kt that would move |
It is possible that either Serbian cyrillic is not listed at all in https://github.com/streetcomplete/StreetComplete/tree/master/app/src/main/assets/osmfeatures/default - but iD preset right now are not being translated into it at all (see https://www.transifex.com/openstreetmap/presets/dashboard/ - it has "request language" at the bottom) I tried testing Chinese but due to fact that small part of iD presets is translated I was unable to find a good test case. |
this is a bit ugly special case but istuation itself is also an ugly special case fixes streetcomplete#3890
this is a bit ugly special case but istuation itself is also an ugly special case fixes streetcomplete#3890
So the solution should be that in the update presets tasks, the "no" or "nb" translation is just copied to "no" and "nb". So whatever the system wants to use, it will find it. |
#3896 is doing this so I merged it, but Bokmål/Nynorsk may be also triggering other bugs (though I have not spotted anything) |
https://poeditor.com/projects/po_edit?id=97843&term=273463027&id_language=127#showComments273463027
after this is fixed
should be changed back/reset
The text was updated successfully, but these errors were encountered: