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
Adding Sorbian language to display languages #2714
Comments
|
Ok, I have generated the 2 empty resource files, so people can start translating. I am not sure how well or if at all this is supported, e.g. in Android. One https://hosted.weblate.org/projects/osmand/main/ the ISO 639-2 code 'wen' does not seem recognized, It is reported at the bottom of the list as "wen (generated". But I assume translations contributed there should make it into our code repository ok. |
|
Hello! "wen" is a superior code for a non-existing language. The correct codes are "hsb" (for Upper Sorbian, which I requested) and "dsb" (for Lower Sorbian). Both have for example Wikipedia projects. My original intention was to enable hsb as map language, since the whole area of Lusatia has been mapped in this language during the past five years (see www.karta.luzica.la for the map). It would be good to let people use the results also on OsmAnd. |
|
Changed ISO 639-2 code from wen to hsb. |
|
Thanks! As I see I made a mistake uploading the so-far-made translations to the matrix, so that there are now also strings, which haven't been translated so far (the yellow ones). Is it possible to delete those? |
|
Not sure how. If you want, I can empty all translations again, so you could upload again. |
|
|
Ad 1: In order for something to be made available as "Map language", there should be enough global coverage of OSM elements with names in that language, which is mostly not true for rarely used languages, and hence pointless. Ad 2: Yes, I think it is an Android issue not supporting 3 letter iso codes, at least not on any of the devices I have tested. I think I implemented everything by the book, but I cannot get it to work either. Maybe newer devices already work, or maybe Android will fix this in some future release, I have seen Android bug reports about this. |
|
On Ad 1: Of course there is only names in that language in the area, where the language is spoken. That's the same with Breton or Welsh, which are nevertheless "map languages". On Ad 2 and Ad 1: Piemontese (roa) and Lower German (nds) are map languages... Obviously it is possible to use three-letter-codes. |
|
Ad 1: Here: https://taginfo.openstreetmap.org/keys/name:dsb and here: http://mlm.jochentopf.com/ you can see coverage of translated names, both Upper- and Lower- Sorbian have more than 1000 of values; in comparison to Cebuano, which have only 224 values. Even Kashubian (csb) have more values (285) and Silesian (szl) - 385. @juliannyca Ad 2: You can use languages with 3-letter codes as map-languages, but you cannot use them as display language (for the program), probably because of bug in Android itself. |
|
This is sad to hear, but then it would be nice at least to enable hsb as map language in the near future – for hsb it is even more than in Lower German and almost as much as in Breton. For the display language we have to wait for Android bug-fixing then. It's a pity I didn't know that before I started translating :D Never mind. |
|
(1) Cross reference: #2770, Let's have a decision from Victor there. (2) Cross reference to 3-letter-locale Android Issues: |
|
Ad (1): added. |
|
That means it's coming? |
|
Yes, I implemented in our nightly build, it should be in the next release, too. |
|
Great! Thanks a lot. |
|
Seems as if it wouldn't work. I chose hsb as map language, the names stay as they are. I zoom in, nothing changes. What's the mistake? |
|
Can you please open a new, specific issue report specifying some OSM examples, specify what you expect to see and actually see., so I can reproduce Thx. |
We already have some regional languages in the options. Users request adding Sorbian and are ready to assist if needed. https://en.wikipedia.org/wiki/Sorbian_languages
The text was updated successfully, but these errors were encountered: