Alfanous-team / alfanous

Alfanous is an Arabic search engine API provides the simple and advanced search in Quran , more features and many interfaces...
http://www.alfanous.org/
GNU Affero General Public License v3.0
256 stars 89 forks source link

Establish a webservice allowing auto-update for Gui localizations by relaying between Transifex and Github #422

Closed assem-ch closed 5 years ago

assem-ch commented 9 years ago

As we are using now Qt localization way with ts files, we need to use transifex for localization instead of launchpad. Transifex is not importing messages catalogues automatically from the source code. Though, we can implement a web service doing it by using the library txgh;

the library updates message catalogues in Transifex at each commit in Github; and commits the updated localization files in github at each change in Transifex.

There is an article explaining how to establish the webservice and configure the web hooks in both github and Transifex: http://blog.transifex.com/post/67760039192/github-transifex-integration

The library source code is here: https://github.com/jsilland/txgh

assem-ch commented 5 years ago

Transifex offers now a way to do this so no need to reimplement it, just follow the integration doc https://docs.transifex.com/integrations/github