WeblateOrg / WeblateOrg/weblate

Improve calculations of multi language widgets

Open
#4,192 13 comments 1 reaction 0 assignees View on GitHub
enhancement good first issue Waiting for: Demand
Dominant language
Python
Stars
6.1k
Forks
1.4k
Avg merge
9h 53m
Merged PRs (30d)
395

Description

**Is your feature request related to a problem? Please describe.**
Projects often have a large list of languages for translations, but at the same time most of those languages have no translation at all (0%). That causes a ridiculous size of the widgets showing multi language status. See screenshot below, or check https://hosted.weblate.org/widgets/planner/#horizontal

![LanguagesWidgets1](https://user-images.githubusercontent.com/43657314/87793499-a4b75b80-c845-11ea-9af2-ed30cec3c95b.png)

**Describe the solution you'd like**
I think it would help, if all languages with 0% don't show up in the widgets, as it much better represents the _real_ status of projects.

**Additional context**
Omitting languages with 0% would also mean, that all widgets would have to be recalculated for "number of languages" and for "translated percentage". I'm aware it's some additional work from your side, but I think it's just some simple math which needs to be implemented.

![LanguagesWidgets2](https://user-images.githubusercontent.com/43657314/87794270-aafa0780-c846-11ea-9112-62a823424002.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.