WeblateOrg / weblate

Web based localization tool with tight version control integration.
https://weblate.org/
GNU General Public License v3.0
4.63k stars 1.02k forks source link

Component lists rewamp #12160

Open nijel opened 3 months ago

nijel commented 3 months ago

Describe the problem

Presently, component lists are a site-wide grouping of components across projects, configurable in the Django admin only.

The original intention was to be able to see progress of translations across projects.

A typical use case is openSUSE, which uses these to track translation progress of individual distro releases: https://l10n.opensuse.org/component-list/opensuse-leap-15_6/

Describe the solution you would like

We need to better define expectations and then adjust implementation.

Describe alternatives you have considered

No response

Screenshots

No response

Additional context

tomkolp commented 3 months ago

Should it affect permissions? It currently does and complicates the code. Please elaborate on how this relates to permissions?

Our entire translation system is based on component lists. We use component lists to assign permissions to very large sets of components.

Translators who do not have access to the entire project have their own component list. This list contains only the components they have access to. Without component lists, how can I assign, for example, 1000 components to a translator? I currently use component lists for this.

If it is necessary to abandon assigning translation permissions using component lists, it should be possible to assign permissions using categories.

nijel commented 3 months ago

That's why this issue is here to collect use cases and design the feature based on that. Currently, the feature is a bit hidden, so it has very little users. Once we make it more visible, it might be too late to make more significant changes to it without breaking existing workflows.

tomkolp commented 3 months ago

I will only add that for a few/several months there is a problem with long loading, after clicking "Add a new list of components" in the Django interface, the same for previewing already created componet lists. In the normal weblate interface, componet lists work without a problem.

nijel commented 3 months ago

@tomkolp a96a13d41add9155ccfa89bf11268c14118ad761 should fix that, but opening a separate issue for that would be a better approach :wink:

michael-smt commented 3 weeks ago

If it is necessary to abandon assigning translation permissions using component lists, it should be possible to assign permissions using categories.

It would be great to get support assigning permissions using categories. I have opened #12851 for this.