MinT for Wiki Readers MVP: Translation options
Open, In Progress, HighPublic

Description

As part of MinT for Wiki Readers MVP (T359072), this ticket proposes to support the translation-related options in the Translation view (T359801). When users are reading machine translated content, the "Machine translation indicator" is visible all the time and provides access to the set of options detailed in this ticket.

MinT Translation Options.png (568×321 px, 25 KB)

Design details

To keep the options in context, they are provided as part of a panel at the bottom of the screen. This step includes the following elements:

  • Overlay. An overlay makes the translation contents partially visible to keep context while providing enough contrast for the user to focus on the elements presented on top. Taping on the overlay will close the panel and remove the overlay. See the Codex Overlay component in Figma
  • Preview panel. A panel attached to the bottom of the viewport provides access to the translation-related options using the following elements:
    • Header with Robot icon, the "Automatic translation" label and a Close button. Taping the Close icon will close the panel (and remove the overlay) to return to the Translation View (T359801).
    • Language pair selector. Two buttons for the selection of the source and target languages with an ArrowNext icon in between support language selection: -Tapping on the source language button will lead the user to the "Explore languages" view (T359863) for more guidance on the selection among the different language-specific versions of the content. -Tapping on the target language button opens the standard language selector.
    • List of options. A set of options represented with an icon and a label for the users to select. Selecting one results in the action to take place and the panel to close. The specific options are listed below.

These are the specific options provided:

  • Read original. This option opens the article in the source wiki. The "Read on <source-language-wiki>" label is used with an Article icon.
  • Read in target wiki. This option is only shown when the article exists on the target wiki. The option opens the article in the target wiki. The "Read on <target-language-wiki>" label is used with an Article icon.
  • Corrections. This option provides access to Content/Section Translation with the article and language pairs pre-selected for the user to provide an improved translation. The "Correct the translation" label and the Pencil icon are used.
  • Share This option allows users to share a link to the translated contents. The "Share automatic translation" label and the Share icon are used. The share method form the Web Share API which invokes the native sharing mechanisms can be used to share the url to the "Confirm" view. Support for this approach seems to be already available on most common mobile browsers.
  • Feedback. This option provides a way for users to share their impressions about the machine translation. This can initially just direct users to the MinT project talk page. As part of future tickets we can explore additional more direct options for feedback. The "Send feedback" label and the Feedback icon are used.

The proposals for supporting the different options are intended to be technically simple. Future iterations may provide more detailed guidance.

Additional considerations

Event Timeline

Pginer-WMF triaged this task as Medium priority.Mar 11 2024, 2:57 PM
Pginer-WMF created this task.
Pginer-WMF moved this task from Backlog to Product integration on the MinT board.
Pginer-WMF updated the task description. (Show Details)
Pginer-WMF raised the priority of this task from Medium to High.May 9 2024, 1:38 PM
ngkountas changed the task status from Open to In Progress.May 16 2024, 7:39 AM
ngkountas claimed this task.

Change #1040236 had a related patch set uploaded (by Nik Gkountas; author: Nik Gkountas):

[mediawiki/extensions/ContentTranslation@master] MinT MVP: Add translation options to "view translation" page

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

Change #1040236 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] MinT MVP: Add translation options to "view translation" page

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

Most of the functionality works as expected, the only issue that I found is that changing the target language seems to have no effect. For example, accessing this machine translation from English to Korean I changed the target language to Greek. The result, as shown below, was the indicator on top reads as "English -> Greek" but the contents remain in Korean.

en.m.wikipedia.org_wiki_Special_AutomaticTranslation_page=Avocado%20toast&from=en&to=ko&step=translation(Wiki Mobile).png (568×320 px, 85 KB)

santhosh renamed this task from MinT MVP: Translation options to MinT for Wiki Readers MVP: Translation options.Mon, Jul 1, 5:03 AM

Change #1052309 had a related patch set uploaded (by Nik Gkountas; author: Nik Gkountas):

[mediawiki/extensions/ContentTranslation@master] AX View Translation: Update translation upon target language change

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

Change #1052309 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] AX View Translation: Update translation upon target language change

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