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

Translation help #56

Closed
Donkey-Doug opened this issue May 8, 2022 · 24 comments
Closed

Translation help #56

Donkey-Doug opened this issue May 8, 2022 · 24 comments
Labels
enhancement New feature or request

Comments

@Donkey-Doug
Copy link

How can users help translate the app?

@Donkey-Doug Donkey-Doug added the enhancement New feature or request label May 8, 2022
@Ashinch
Copy link
Owner

Ashinch commented May 8, 2022

What language would you like to translate?
I want to give an example.

@Donkey-Doug
Copy link
Author

Dutch.

@Ashinch
Copy link
Owner

Ashinch commented May 8, 2022

You can refer to the language file:

EN: https://github.com/Ashinch/ReadYou/blob/main/app/src/main/res/values/strings.xml

zh-CN: https://github.com/Ashinch/ReadYou/blob/main/app/src/main/res/values-zh-rCN/strings.xml

Next, make a copy of the EN language file (strings.xml) and modify it on top of that.

Perhaps you noticed that the folders where the different language files are located are different.

For Dutch (nl-NL), it should be located: /app/src/main/res/values-nl-rNL/strings.xml

You can submit translated language files in any new form, such as links, Git, Telegram, etc.

This can be tricky, so I will consider using weblate to help users translate, you can also wait until then.

@Ashinch Ashinch pinned this issue May 8, 2022
@Donkey-Doug
Copy link
Author

I will wait for weblate. Please add instructions to the readme when weblate is done.

@dt-dt-dt
Copy link
Contributor

dt-dt-dt commented May 9, 2022

@Ashinch is there an ETA on weblate? I can translate French (or I'll take a look at the strings.xml file later)

@Ashinch
Copy link
Owner

Ashinch commented May 9, 2022

@Ashinch is there an ETA on weblate? I can translate French (or I'll take a look at the strings.xml file later)

Maybe 0.8.5, a conservative estimate is that it will take a month, may be earlier. Because the focus is not on that now.

@Ashinch
Copy link
Owner

Ashinch commented May 13, 2022

@Ashinch is there an ETA on weblate? I can translate French (or I'll take a look at the strings.xml file later)

I just read the instructions of Weblate, which requires the project to be create for three months, and now just over a month has passed XD.

You can wait until later, because updates are now so frequent that new strings are generated every week.

@DodoLeDev
Copy link
Contributor

@Ashinch is there an ETA on weblate? I can translate French (or I'll take a look at the strings.xml file later)

I can arrange to do the French translation!
I've checked the strings.txt file: 180 lines, it's not that much!

@DodoLeDev
Copy link
Contributor

@Ashinch
Just one question: Should I send the translated file as a PR or just as an attachment of an issue ticket?

@Ashinch
Copy link
Owner

Ashinch commented May 17, 2022

@DodoLeDev PR is best, because it allows you to keep a record of your contributions.😊

@dt-dt-dt
Copy link
Contributor

@DodoLeDev Ah, I suppose you can take care of it if you've already started. I have some strings translated but French is technically my second language so I'm not sure how good it is.

@Ashinch
Copy link
Owner

Ashinch commented May 17, 2022

@oidwa8 That's ok, if there are translation errors, others will make suggestions.

@DodoLeDev
Copy link
Contributor

✔️ Done!

I opened a Pull Request just here: #75

@quytttb
Copy link

quytttb commented May 20, 2022

Vietnamese pls

@shuvashish76
Copy link

I just read the instructions of Weblate, which requires the project to be create for three months, and now just over a month has passed XD.
You can wait until later, because updates are now so frequent that new strings are generated every week.

@comradekingu any possibility of speed up the process?

https://hosted.weblate.org/projects/read-you/

@comradekingu
Copy link
Contributor

@shuvashish76 The Gradle settings are three months old.
Moreover, it just needs to be accepted, which isn't right away.
Paying for hosting, https://weblate.bubu1.eu/ or self-hosting are also viable options
New strings generated every week isn't a problem.

I got https://github.com/Ashinch/ReadYou/pull/81/files in, which resolves a lot of issues once figured out.

@joaolucascript
Copy link

I want to help translate the app to Brazilian Portuguese, what do I need to do?

@comradekingu
Copy link
Contributor

https://hosted.weblate.org/hosting/ is also a viable option. I can help set that up :)

@chengnan049
Copy link

I want to help translate the app to Brazilian Portuguese, what do I need to do?

Make a copy of the EN language file (strings.xml) and modify it on top of that.

Perhaps you noticed that the folders where the different language files are located are different.

For Dutch (nl-NL), it should be located: /app/src/main/res/values-nl-rNL/strings.xml

@shuvashish76
Copy link

@Ashinch
https://hosted.weblate.org/projects/read-you/
Page Not Found 🤷🏿‍♂️

@Ashinch
Copy link
Owner

Ashinch commented Aug 8, 2022

Weblate is now available: https://hosted.weblate.org/projects/readyou/

Whenever a new translation file is approved and pushed to GitHub, it will be automatically built as an APK file.

You can view a preview of the translated language version at https://github.com/Ashinch/ReadYou/actions

GitHub Actions -> Click your translation pull request -> Artifacts -> Select F-droid or GitHub build-variant

@Ashinch Ashinch closed this as completed Aug 8, 2022
@JunkFood02
Copy link
Collaborator

@Ashinch Hosted Weblate 的 commit 量有点灌水,可以 squash 成一个
Component - Manage - Add-ons - Squash Git commits

@chengnan049
Copy link

@JunkFood02 臣附议

@Ashinch
Copy link
Owner

Ashinch commented Aug 19, 2022

@Ashinch Hosted Weblate 的 commit 量有点灌水,可以 squash 成一个 Component - Manage - Add-ons - Squash Git commits

Done.

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

No branches or pull requests

10 participants