-
Notifications
You must be signed in to change notification settings - Fork 5
Add badges for README #319
Comments
👍 |
1 similar comment
👍 |
We have some time allocated to improve the crowdsource aspect of Transifex this year and I think badges is gonna be on the table for discussion. Thanks for the info @patcon. |
We'd love to integrate that feature at our GlobaLeaks project in the wiki https://github.com/globaleaks/globaleaks/wiki |
👍 |
1 similar comment
👍 |
any movement on this issue? |
I also would like to see that feature being integrated in transifex. This is really one of the badge types that are badly missing for many of my github projects. |
+1 |
Made this microservice as an intermediary between the Transifex API and Shields.io, for anyone who's interested. |
Interesting, @greatislander |
This would be a really cool feature. Transifex is one of the few missing services on shields.io. Please at the least fix the low resolution of the existing widgets, they look really blurry on HiDPI screens. |
The API documentation page has been moved to https://docs.transifex.com/api/translations But it downloads all the translation texts. We probably only need statistics instead: https://docs.transifex.com/api/statistics This API should be made public if the project is public. private APINote that the project page (such as https://www.transifex.com/transifex/transifex/) makes an AJAX call to https://www.transifex.com/_/userspace/ajax/widgets/languages/transifex/transifex/. This is private API but we can use this as temporary solution. |
So, I added a new project, inspired by @greatislander.
Source: https://github.com/niccokunzmann/open-transifex-api |
@niccokunzmann Currently the URL https://transifex.quelltext.eu/badge/12-characters/project/12-characters-play/translated.svg returns 404. Is it not yet deployed? |
I get 12-characters-play|38% badge |
Just now deployed. Please give feedback on the issue tracker if something is not working or consider editing the HTML when it can be formulated in a better way. |
@niccokunzmann That web service is currently running with |
@FranklinYu We can discuss this in the repository, such as in niccokunzmann/open-transifex-api#1, to keep this issue clean. The user for https://transifex.quelltext.eu is |
@boru87 could you elaborate on this using English text? I have no idea how this related to the topic of the discussion.
Asking for cleanup: boru87/Bitcoin-Newbie#4 (comment) |
I realize that you have this widget available:
https://www.transifex.com/projects/p/seadroid/widgets/
Bt as I understand it, that's not in line with what maintainers expect of README badges.
Was thinking that it might be nice to have a badge per translation, like travis does. There is a "badges as a service" tool called shields.io that we could integrate with. It provides standard, high resolution SVG images for badges.
This is how it might look:
Or of course, there could be an overall badge per project, if your API provides that :)
Here's an example of an implementation:
https://github.com/badges/shields/blob/0baa3209680628f6aa701876bef475b9ed30a4b3/server.js#L204-L245
Another possible impediment is that you require authentication for all API calls, even for those against public open source projects. This would probably be the call we'd need to use:
http://docs.transifex.com/developer/api/translations
Might be able to feed img.shields.io a set of credentials to use. Not sure if there's precedent for that with others services integrated into shields. That would also likely bump against any API rate limits, should they exist.
Anyhow, food for thought. Just putting it out there :) I could provide some support, but likely wouldn't carry the whole effort, unfortunately
The text was updated successfully, but these errors were encountered: