WeblateOrg / WeblateOrg/weblate

API: Statistics for labels

Open
#21,499 1 comment 0 reactions 0 assignees View on GitHub
Area: Statistics Waiting for: Demand
Dominant language
Python
Stars
6.1k
Forks
1.4k
Avg merge
9h 53m
Merged PRs (30d)
395

Description

### Discussed in https://github.com/orgs/WeblateOrg/discussions/21317

Originally posted by **emmapeel2** August 26, 2026
I like the concept of labels, as they allow me to build groups of strings along my project that I want to track for some reason.

For example, now we are starting to work on the year end donation campaign, and I want to track the translations for the campaign slogan across the different websites and apps. For this, I have created the label "YEC", so I can point translators and stakeholders to this specific strings easily.

This works well on the web interface, I can create links to the strings in Hosted Weblate without issues. But I cannot find a way to pull statistics from the API about this strings.

I wish on the statistics page (for project, language, components) I had some way of asking how the translators for the label YEC are doing for German, for example. How many translated or reviewed.

I read the docs but I couldn't find information on this. Is there a way to access label statistics from the API?

Thanks!

Contributor guide

Open the contributing guide

Research direction

Start with the API documentation and the existing statistics views for projects, languages, and components. Trace how labels are exposed and determine the appropriate API entry point for filtering by a label and language. Done means the API can report translated and reviewed counts for strings carrying a label, such as YEC in German.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, localization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.