-
Notifications
You must be signed in to change notification settings - Fork 29
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
Set up localization using Weblate #46
Comments
Running Questions:
|
Have a look at https://docs.weblate.org/en/latest/vcs.html You have to add the weblate User to the Git repo. So you can grant weblate access. For Upload it looks like a SSH Key is required. |
Addded the user |
It is still not making pull requests. |
Now setting This seems to have done the trick, no SSH keys neded. But I would prefer the bot not to push but use Pull Requests... |
Yea absolutly. I don't know if it's even a good idea, to have this fully automated. Do we have controll who has access to the weblate instance? |
I think that only the Weblate admin for the project (that would be me) can trigger a push. In any case, the good thing about GitHub pushes is that they can be reverted if something goes wrong. |
Ok, this sounds good. Normally this translation scripts really works well. they don't destroy code. Well, I don't have experiance with this particular one, but with the one i worked, it worked really well. |
I am still looking for the leanest way to translate PyQt5 applications, ideally without the need to compile anything. After all, I chose PyQt5 specifically because it doesn’t need to be compiled… Am I missing something? https://forum.learnpyqt.com/t/impossible-translations/298/9 Not so easy: Those extra steps for compiling are really bothering me. |
Possibly we need to define a custom We can't be the first ones to run into this...? |
I have a proof-of-concept working for a system that uses raw Qt This requires the Python module The proof-of-concept currently uses Is this possible to set up easily in Hosted Weblate without having to create one Weblate project per application in this repository? |
To generate/update the English
Unlike In the meantime we can use
to remove the unwanted |
This looks exactly like what we need: https://docs.weblate.org/en/latest/admin/addons.html#component-discovery
|
As we can see in we have
I would like to set up Weblate to find these but I can't get it to work: Like this it works but then the How to solve this? |
In the meantime, I can add the individual applications one-by-one by hand lke this: https://hosted.weblate.org/projects/hellosystem/ -> Add new translation component -> From existing component -> Under "Component name" enter the name of the application (without ".app") (e.g., "Format Disk") -> Under "Component" select "helloSystem/Utilities" -> Continue -> Select the appropriate directory where the translations reside -> "Do NOT enter anything in "Monolingual base language file". Works but is manual work for each application. |
Basic setup is working now and documented at https://hellosystem.github.io/docs/developer/localization. |
@louies0623 I see you contributed translations for many Asian languages. Thank you very much, highly appreciated. Do you actually speak all of those languages? Hats off. May I add you to https://hellosystem.github.io/docs/developer/acknowledgements? |
weblate
in https://github.com/helloSystem/Utilities/settings/access and give it Write rightsPending on
The text was updated successfully, but these errors were encountered: