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
292 stars 15 forks source link

change the entire UI to another language #10

Closed XandrexOSM closed 7 months ago

XandrexOSM commented 7 months ago

hello, is it possible to allow the user to change the language of the entire app please? Maybe using Weblate? I am interested for the French language, and I am already used to contribute to Weblate for other projects.

woheller69 commented 7 months ago

Sure, just translate this file and upload it here.

https://github.com/woheller69/whoBIRD/blob/master/app/src/main/res/values/strings.xml

XandrexOSM commented 7 months ago

@woheller69 I added an XML header to manage the accents. strings-FR-fr.xml.txt

XandrexOSM commented 7 months ago

but the names of the birds will remain in English?

woheller69 commented 7 months ago

There is a French translation for bird names. If I set French as language, these are shown.

https://github.com/woheller69/whoBIRD/blob/master/app/src/main/assets/labels_fr.txt

XandrexOSM commented 7 months ago

How can I change the language to have french names? My phone is using Android 12.

woheller69 commented 7 months ago

French should either be your default language in Android settings - languages. Or French should at least be on that list and select French in Android settings - apps - whoBIRD