gitlocalize / feedback

:mega: We love feedback :sparkles:
20 stars 8 forks source link

[feature] API for translation progress #129

Closed DreamOfIce closed 1 year ago

DreamOfIce commented 1 year ago

I would like to be able to show the current progress of the translation on the documentation site.

Maybe an API like https://developer.crowdin.com/api/v2/#operation/api.projects.branches.languages.progress.getMan could be added, and it would be nice to be able to access it without authorization 😄

ilyaspiridonov commented 1 year ago

@DreamOfIce Hey, thanks for reaching out. Would a badge work? https://gitlocalize.com/repo/**XXXX**/badge

ilyaspiridonov commented 1 year ago

image

DreamOfIce commented 1 year ago

This fulfills part of my need, but I'd like to achieve something like this (taken from pnpm.io) D16373E6-1CA0-45FB-9ABA-322B42B5F124 It looks like maybe I can extract the progress text from the SVG of the badge?

svasilenkov commented 1 year ago

@DreamOfIce Yes, it can be taken from SVG:

image