Page MenuHomePhabricator

Translation options are not using the user-facing name for the services
Closed, ResolvedPublic

Description

Section Translation editor on mobile lets users change the machine translation service they want to use for a given sentence. However, service names in that list use the code name instead of the user-facing name.

When translating the Paneer article from English to Igbo on mobile, the MT card shows "Suggested translation from NLLB-200". However, in the list the service is listed as "Flores" a codename not representing the final name (T311411).

You can check the differences in the screenshots below:

MT cardList of options
ig.m.wikipedia.org_w_index.php_title=Special_ContentTranslation&from=en&to=ig&sx=true&page=Paneer(iPhone SE).png (1×750 px, 423 KB)
ig.m.wikipedia.org_w_index.php_title=Special_ContentTranslation&from=en&to=ig&sx=true&page=Paneer(iPhone SE) (1).png (1×750 px, 79 KB)

The expected behaviour would be for the list of options to show "NLLB-200" (instead of "Flores"), "Google Translate" (instead of "Google"), etc.

Event Timeline

Pginer-WMF triaged this task as Medium priority.
Pginer-WMF updated the task description. (Show Details)

Change 854414 had a related patch set uploaded (by Santhosh; author: Santhosh):

[mediawiki/extensions/ContentTranslation@master] Use user-facing name for the MT services in translation options

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

Change 854414 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] Use user-facing name for the MT services in translation options

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

Change 858719 had a related patch set uploaded (by Santhosh; author: Santhosh):

[mediawiki/extensions/ContentTranslation@master] CX3 Build 0.2.0+20221121

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

Change 858719 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] CX3 Build 0.2.0+20221121

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

Test status: QA PASS

MT name now matches Service name