OSMDashboard icon indicating copy to clipboard operation
OSMDashboard copied to clipboard

Corsican localization for OSMDashboard is now ready on Weblate

Open Patriccollu opened this issue 1 year ago • 6 comments

Hello,

As I found your project interesting, I just completed the Corsican localization on Weblate.

For your information, I translated OpenTracks two days ago, see issue https://github.com/OpenTracksApp/OpenTracks/issues/1974.

Best regards, Patriccollu.

Patriccollu avatar Aug 22 '24 18:08 Patriccollu

Thanks :+1: I've merged it in. You can test it with the next nightly build.

pstorch avatar Aug 22 '24 19:08 pstorch

@pstorch it might be that this locale is not directly accessible and must be set programmatically. At least that's how it looked on my Android 12.

dennisguse avatar Aug 23 '24 00:08 dennisguse

Thank @dennisguse I need to check that

pstorch avatar Aug 23 '24 01:08 pstorch

Many thanks @dennisguse and @pstorch for your help to solve this problem regarding Corsican locale. I appreciate!

Patriccollu avatar Aug 23 '24 10:08 Patriccollu

@dennisguse is that already implemented in OT? https://github.com/OpenTracksApp/OpenTracks/issues/1970#issuecomment-2295355736 I couldn't find any in-app setting.

I found the resource.properties file and enabled the generateLocaleConfig in build file. But this only activates the App Info langugae chooser via the launcher and co isn't available.

pstorch avatar Aug 23 '24 19:08 pstorch

I know: https://github.com/OpenTracksApp/OpenTracks/issues/1970#issuecomment-2295355736

dennisguse avatar Aug 23 '24 20:08 dennisguse

Hello @pstorch ,

For your information Corsican language can now be selected in OpenTracks thanks to @dennisguse ;-) and a language chooser for all Android versions.

Best regards, Patriccollu.

Patriccollu avatar Dec 12 '24 13:12 Patriccollu

@pstorch we could also send the current locale from OpenTracks.

dennisguse avatar Dec 12 '24 23:12 dennisguse

I borrowed the code from OpenTracks. Now it should be possible to choose corsican also in OSMDashboard. @dennisguse I was thinking about adding the locale to the dashboard API as you proposed. Could be possible, but OSMDashboard doesn't support the all languages from OT.

pstorch avatar Dec 22 '24 18:12 pstorch

@pstorch Hi Peter,

Thanks a lot! I look forward testing it with the next nightly versione ;-)

Cheers, Patriccollu.

Patriccollu avatar Dec 22 '24 19:12 Patriccollu

Works for me :)

dennisguse avatar Dec 22 '24 19:12 dennisguse