Closed Xitee1 closed 2 years ago
Many thanks for offering help 👍.
There is no website yet, but that would be actually nice. Currently it's cloning the repo, manually editing the .po
files like https://github.com/motioneye-project/motioneye/blob/dev/motioneye/locale/en/LC_MESSAGES/motioneye.po, then compiling them via make and committing via PR changes back to this repository. What I am not sure about is whether there is a nice GUI application for doing these translation updates instead of editing the files manually? A website would of course be awesome.
Hello, Actually, we don't have a translating website. To help translating, i suggest to follow these steps : 1) make your own fork : click on button «fork» on top of page, and follow instructions. 2) clone your fork on your linux machine , and change to the dev branch :
git clone https://github.com/Xitee1/motioneye.git
cd motioneye
git checkout dev
3) edit the two po files motioneye/locale/de/LC_MESSAGES/motioneye.js.po
and motioneye/locale/de/LC_MESSAGES/motioneye.po
4) commit and push your changes :
git add motioneye/locale/de/LC_MESSAGES/motioneye.js.po
git add motioneye/locale/de/LC_MESSAGES/motioneye.po
git commit -m 'german translation'
git push
5) propose your changes as a pull request : On github, being on your fork, click on «Pull Requests», then on «New Pull Request». Select the dev branch on both sides, and click on «Create Pull Request», and follow instructions.
Notes for step 3 :
If you want to test the result of your work, you can update your local motioneye with this commands :
make
sudo systemctl stop motioneye
sudo python3 -m pip install --upgrade --force-reinstall --no-deps .
sudo systemctl start motioneye
Thanks. I will try that.
I have created a translation project on weblate : https://hosted.weblate.org/projects/motioneye-project/. Probably easier for you to use.
Wow, awesome, looks very good. I'll start updating German translations tomorrow 🚀.
Could you please open a new issue about this? Let's keep individual things separated 😉. I'll mark this as closed as the original question has been answered.
I would like to help translating into german. How can I do that? Is there already some translating website available like crowdin or something?