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

Adding Sorbian language to display languages #2714

Closed
annasoloviova opened this issue Jun 17, 2016 · 17 comments
Closed

Adding Sorbian language to display languages #2714

annasoloviova opened this issue Jun 17, 2016 · 17 comments
Assignees

Comments

@annasoloviova
Copy link
Contributor

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

@sonora
Copy link
Member

sonora commented Jun 20, 2016

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.

@sonora sonora closed this as completed Jun 20, 2016
@juliannyca
Copy link

juliannyca commented Jun 29, 2016

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.

@sonora
Copy link
Member

sonora commented Jun 29, 2016

Changed ISO 639-2 code from wen to hsb.

@juliannyca
Copy link

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?

@sonora
Copy link
Member

sonora commented Jun 30, 2016

Not sure how. If you want, I can empty all translations again, so you could upload again.

@verdulo
Copy link
Contributor

verdulo commented Jul 26, 2016

  1. The user juliannyca probably wanted to add both languages as "Map language".
  2. All languages with 3-letter codes: Asturian (ast), Uppersorbian (hsb) seems to be not working (all text is in English).

@sonora
Copy link
Member

sonora commented Jul 26, 2016

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.

@juliannyca
Copy link

juliannyca commented Jul 26, 2016

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.

@verdulo
Copy link
Contributor

verdulo commented Jul 26, 2016

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.

@juliannyca
Copy link

juliannyca commented Jul 26, 2016

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.

@sonora
Copy link
Member

sonora commented Jul 26, 2016

(1) Cross reference: #2770, Let's have a decision from Victor there.

(2) Cross reference to 3-letter-locale Android Issues:

@sonora
Copy link
Member

sonora commented Jul 31, 2016

Ad (1): added.

@juliannyca
Copy link

That means it's coming?

@sonora
Copy link
Member

sonora commented Aug 2, 2016

Yes, I implemented in our nightly build, it should be in the next release, too.

@juliannyca
Copy link

Great! Thanks a lot.

@juliannyca
Copy link

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?

@sonora
Copy link
Member

sonora commented Aug 14, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants