Adjust multiple model support on MinT test instance
Closed, ResolvedPublic

Description

The MinT test instance recently supported the selection of a specific translation model (T338608).

In the UI there are a couple of aspects that may be worth adjusting:

  • Currently, changing the source language does not trigger a recalculation of the available languages. So depending on the selected language, the list of models shown may be wrong. For example, selecting initially the English -> Catalan pair shows "Softcatalà" as an option. However, changing the source language to "Hindi" keeps the "Softcatalà" option despite Hindi->Catalan not being supported by this model. the issue occurs both when selecting the source language manually and when the selection occurs automatically after pasting text in a different language. Requesting such translation results in gibberish output (See screenshot below).
  • For pairs where there are multiple models, it would be helpful to have the default option labelled as "softcatalà (default)". In this way, users switching across the different options to test translation quality will have always clear which is the current default.
  • For language pairs where there is only one model option, it would be better to show the dropdown disabled to still indicate which model is used but communicating that there are no other options.

translate.wmcloud.org_(Wiki Tablet) (4).png (768×1 px, 67 KB)

Event Timeline

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

[mediawiki/services/machinetranslation@master] Update models on source language selection

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

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

[mediawiki/services/machinetranslation@master] UI: Indicate default model, disable if there are no options

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

Change 991979 merged by jenkins-bot:

[mediawiki/services/machinetranslation@master] Update models on source language selection

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

Change 991981 merged by jenkins-bot:

[mediawiki/services/machinetranslation@master] UI: Indicate default model, disable if there are no options

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

Change 991578 had a related patch set uploaded (by KartikMistry; author: KartikMistry):

[operations/deployment-charts@master] Update MinT to 2024-01-22-053144-production

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

Change 991578 merged by jenkins-bot:

[operations/deployment-charts@master] Update MinT to 2024-01-22-053144-production

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

Proposed improvements are completed and available in production. The result of the steps in the description now list the available models with an indication of the default status (when multiple models are available) or showing a disabled selector when there is only one:

translate.wmcloud.org_(Wiki Tablet) (8).png (768×1 px, 178 KB)