onionshare / onionshare-android

Android version of OnionShare
https://onionshare.org/
GNU General Public License v3.0
141 stars 16 forks source link

Add the option to translate Fastlane (app store details) in Weblate #127

Closed lucasmz-dev closed 6 days ago

yurtpage commented 3 weeks ago

šŸ‘ This very important because the F-Droid doesn't make an auto translation and non English speakers can't understand what the app is doing.

Here is a sample of Conversations app metadata translation via Weblate https://translate.codeberg.org/projects/conversations/app-store-metadata-conversations/

lucasmz-dev commented 3 weeks ago

because the F-Droid doesn't make an auto translation

Thankfully! I would be pretty sad if they did that to be honest; machine translation or bad translations makes things less accessible than just keeping it in the native language or English.

Right now, I can open a PR to add some metadata, and I suppose it would work, but it's very manual and I wouldn't be notified of changes and updates to the original string as what I can do with Weblate.

lucasmz-dev commented 2 weeks ago

After doing what I said above, I realize it's a bit more complicated, still I feel like it's possible to have at least the short and full description, and maybe title if that makes sense.

OnionShare has some graphics and images which are hard to translate; not sure if there's files to be able to do that or something. See #128.

yurtpage commented 2 weeks ago

Even without images i18n it would be really useful.

grote commented 2 weeks ago

upstream source files seem to be here: https://codeberg.org/iNPUTmice/Conversations/src/branch/master/src/conversations/fastlane/metadata/android/en-US

We would need to check how to include this in weblate the same way. Maybe @emmapeel2 knows.

yurtpage commented 2 weeks ago

Here more details about translation for the full_description.txt https://github.com/WeblateOrg/weblate/issues/1525#issuecomment-464086454

emmapeel2 commented 1 week ago

upstream source files seem to be here: https://codeberg.org/iNPUTmice/Conversations/src/branch/master/src/conversations/fastlane/metadata/android/en-US

To add to weblate is easy: you need to create this folder structure in a repository, and we can hook it up to a new weblate component. I can do that under the OnionShare weblate project.

What I donĀ“t know is where do you tell Fastlane to pick up the translations.

lucasmz-dev commented 1 week ago

I thought Fastlane just picked it up automatically?

emmapeel2 commented 6 days ago

Oooooh, I see, the files are already in the repo (duh! I didnĀ“t looked). I will add it to weblate, linked to the other components.

emmapeel2 commented 6 days ago

OK, I have added the component to weblate, you can translate the metadata here: https://hosted.weblate.org/projects/onionshare/android-metadata/

It was very easy with weblate already supporting the format, and it is only one component instead of 4 little one-string components.

lucasmz-dev commented 6 days ago

Just in case, PT-BR translations are not yet showing up, I believe an app update (or something) triggers that.

emmapeel2 commented 6 days ago

I guess new releases will provide the translations. Weblate is already submitting them to the repository: https://github.com/onionshare/onionshare-android/pull/126/files