woheller69 / whoBIRD

Identify bird sounds in real time with this Android version of BirdNET. Bird sound recognition for more than 6,000 species worldwide.
GNU General Public License v3.0
249 stars 13 forks source link

Catalan language to whoBIRD app #49

Closed mrestivill closed 1 month ago

mrestivill commented 1 month ago

Hi, I've added a new translation to catalan language, I've don't know if there is some other files to be modified to be able to work.

Thanks

Marc

woheller69 commented 1 month ago

that does not sound very Canadian...

woheller69 commented 1 month ago

maybe it should be values-es-rCA ?

Dimas-sc commented 1 month ago

As you can see, 'ca' is Catalan

https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes https://www.loc.gov/standards/iso639-2/langhome.html https://www.andiamo.co.uk/resources/iso-language-codes/

mrestivill commented 1 month ago

This file labels_ca.txt cames from https://github.com/mcguirepr89/BirdNET-Pi?tab=readme-ov-file#internationalization this other repo, It's inside a zip file https://github.com/mcguirepr89/BirdNET-Pi/tree/main/model

mrestivill commented 1 month ago

Sorry I didn't mention the catalan language. i've updated the PR title.

woheller69 commented 1 month ago

labels_ca does not have the correct length. It needs 6522 lines. So it is for an older BirdNET version.

mrestivill commented 1 month ago

Updated file

woheller69 commented 1 month ago

notfound is not a good solution. I would suggest to replace these at least with the English or Spanish name

mrestivill commented 1 month ago

Fixed notfound with spanish or english words.

woheller69 commented 1 month ago

thanks, great. Will merge soon.