简体   繁体   中英

Github service hook for community translation webservice

I am taking care of an open source project: mixare . It's an augmented reality browser released under the GPLv3.

The source code of the project is on github and I would like to hook the localization part to some web-service a-la pootle . If necessary I can install my own instance of a translation service on our server, but also an hosted solution would be fine. So I would like to know:

Is there a preferred translation web service that syncs using github's service hooks? Any best practice to share?

Thanks a lot!

Git integration is one of major reasons why I started to write Weblate . It also supports remote trigger for git pull using URL , so it nicely integrates with Github (you just need to put the URL there).

PS: I've just noticed that Android string resources are not supported by backend I use for loading translations (translate toolkit), so it probably won't work for you...

While I appreciate your wish for git support, shouldn't you primarily be looking for a solution that will give you many and good translations?

To get many translations I'd recommend Translatewiki , unfortunately their manual setup takes some time though.

Apart from Translatewiki, transifex seems to be one of the better and not least bigger (counting translators) services. They've made their own client that take care of importing and merging translations. For gettext translations it can also pull in updated template (pot) files automatically from github, I don't know if that's also possible with Android style translations.

Both Translatewiki and Transifex are 100% free and open source software.

I've been through the same "nothing good out there" phase, so I've started writing my own, as a symfony2 bundle. Maybe it's of use to you: https://github.com/tvogt/translator-bundle

Why? Because I couldn't get weblate or pootle to work, you probably have to be familiar with all the pip and python and ve and whatever stuff. Translatewiki is only for free software. Transifix is commercial.

In 2020, with GitHub Actions (hooks executed on GitHub side), you now have GitLocalize

GitLocalize is a continuous localization tool built for communities and teams that want to simplify their workflow when translating their content.

GitLocalize automatically keeps translations up to date by syncing with your repository.

That won't apply to the OP's project github.com/mixare/mixare , which was moved to GitLab in 2018.
But it can help other projects with a similar need.

You can have a look at Amanuens - it's able to sync with any Git repository, including Github. It's totally free for open-source projects (contact support for details). Disclaimer: it is my company's service.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM