WeblateOrg / WeblateOrg/weblate
Translation > Machine translation (tab): Introduce filter, sort, cluster for MT results
- Dominant language
- Python
- Stars
- 6.1k
- Forks
- 1.4k
- Avg merge
- 9h 53m
- Merged PRs (30d)
- 395
Description
When having multiple projects, multiple components, MT services (beyond weblate) connected and a lot of translation work done, then the machine translation results provided in a translation view is becoming quite overwhelming, literally listing up everything along all services
- Weblate Translation Memory
- Personal
- Project
- Shared
- Weblate (Components)
- occurrence of same translation within same component listed up several times
- occurrence of same translation across components listed up several times
- Further MT services
- ...
Giving a translator the option to filter, sort and cluster those results along user specific settings (may some are not adjustable and given by weblate) will improve the overview and increase efficiency.
## Criteria for filter, sort and cluster
Collecting the criteria along filtering, sorting and clustering can happen:
### Sorting
1. First Order Sorting
- Quality (Source string match)
- Translation state (Approved)
2. More Sorting Criteria
- Service (what service's results to show first, second, third, ...)
- Component (maybe some components have close relationship, hence it is preferred to show MT results from those components first: itself, second, third, ...)
### Clustering
Allow the MT view to collapse / expand, could be a tree type, list type, ...
- default: collapsed
1. Cluster together source string matches of same Quality (e.g. 100%, 77%, etc.) where source string is exactly the same
2. Within same source string match, cluster together same translations (exact match)
### Filtering
Allow the user to set individual filters:
- Quality: limit min / max quality (e.g. show only results between 77% and 100%)
- Translation states (if more than approved is shown):
- Show approved only
- Show approved and waiting for review
- Services
- Weblate Translation Memory: Personal (yes/no)
- Weblate Translation Memory: Project (yes/no)
- Weblate Translation Memory: Shared (yes/no)
- Weblate, overall (yes/no)
- Specific Results Component A (yes/no)
- Specific Results Component B (yes/no)
- ...
- Further machine results, overall (yes/no)
- Specific machine results google translate (yes/no)
- Specific machine results DeepL (yes/no)
- ...
## Solution Approach
tbd
Contributor guide
Assessment
This issue has not been assessed yet.