Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Automated notification to devs when translations have been added and/or reached 100% #11

Open
luzpaz opened this issue Dec 28, 2016 · 4 comments

Comments

@luzpaz
Copy link
Contributor

luzpaz commented Dec 28, 2016

Is there a way to receive reports when activity on Transifex has occurred?
There is https://www.transifex.com/scribus/scribus/settings/timeline/ but that IIRC is only available via http. There is a statistics API call in https://docs.transifex.com/api/statistics but nothing that I can see will report when a translator completes a language.

@luzpaz
Copy link
Contributor Author

luzpaz commented Dec 28, 2016

Answer has something to do with https://docs.transifex.com/integrations/webhooks

@gyuris
Copy link
Collaborator

gyuris commented Dec 28, 2016

@luzpaz, what exactly would you like to see? Where?

With 1st feature we can provide a script to process the answer: curl -i -L --user USERNAME:PASSWORD -X GET http://www.transifex.com/api/2/project/scribus/resource/scribus/stats/

"el": {
        "reviewed_percentage": "0%", 
        "completed": "52%", 
        "untranslated_words": 16901, 
        "last_commiter": "cbradney", 
        "reviewed": 0, 
        "translated_entities": 4011, 
        "translated_words": 12150, 
        "last_update": "2016-12-21 22:16:38", 
        "untranslated_entities": 3687
},

2nd feature can we add to some webpage.

@luzpaz
Copy link
Contributor Author

luzpaz commented Dec 30, 2016

Interesting clip on how to work with transifex API requests https://www.youtube.com/watch?v=zl-fa0Pp5K0

@luzpaz
Copy link
Contributor Author

luzpaz commented Dec 30, 2016

2nd feature can we add to some webpage.

I think if we can pull stats from transifex then generate a template like: https://github.com/qgis/QGIS/blob/master/doc/TRANSLATORS
which looks like:
qgis-about-translators
and we can put it on the website and perhaps in the Scribus 'About' dialog #14524

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants