Page MenuHomePhabricator

Progress bar in the translation dashboard not representing accurately the percentage of machine translation
Closed, ResolvedPublic

Description

The translation dashboard in Content translation shows the percentage of progress for in-progress translations. When hovering over, a tooltip shows the percentage of the source article that has been translated, and the percentage of machine translation used. The percentage of machine translation used currently is not reliable.

If you start a translation, add 2 paragraphs with machine translation, delete one word of each paragraph, and go back to the dashboard. The tooltip shows 0% of machine translation, which should not be the case:

I repeated the test without deleting any content, and it was correctly showing 100% of MT, which is the expected result.

The issue seems related to the old way of calculating the percentage of machine translation, and should be updated to be aligned with the approach we use in T221930.

Details

Related Gerrit Patches:
mediawiki/extensions/ContentTranslation : masterChange the way progress is calculated

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMay 9 2019, 2:38 PM
Pginer-WMF triaged this task as Normal priority.May 9 2019, 2:39 PM
Pginer-WMF moved this task from Needs Triage to Bugs on the ContentTranslation board.
Petar.petkovic renamed this task from Progress bar in the translation dashboard not representing accurately the percentage fo machine translation to Progress bar in the translation dashboard not representing accurately the percentage of machine translation.May 9 2019, 8:23 PM

Change 512777 had a related patch set uploaded (by Petar.petkovic; owner: Petar.petkovic):
[mediawiki/extensions/ContentTranslation@master] Change the way progress is calculated

https://gerrit.wikimedia.org/r/512777

Change 512777 merged by jenkins-bot:
[mediawiki/extensions/ContentTranslation@master] Change the way progress is calculated

https://gerrit.wikimedia.org/r/512777

Etonkovidova closed this task as Resolved.Jun 10 2019, 12:56 PM
Etonkovidova added a subscriber: Etonkovidova.

Checked in cx2-testing - the progress bar calculates the percentage of MT correctly (the case described in the ticket was checked too).