Page MenuHomePhabricator

Translate the section titles in the MinT MVP Translation view
Closed, ResolvedPublic

Description

As part of MinT for Wikipedia Readers MVP (T359072), the Translation View (T359801) displays a machine translation for the contents of an article.

In the initial implementation, the section titles remain untranslated. For example, when translating the Moon article form english to Korean you can see titles such as "Names and etymology" written in English despite the rest of the contents being, as expected, translated into Korean:

ca.m.wikipedia.org_wiki_Especial_MinT(Wiki Mobile).png (568×320 px, 61 KB)

This ticket proposes to use the machine translation of the section titles instead.

Event Timeline

Pginer-WMF triaged this task as Medium priority.May 9 2024, 10:13 AM
Pginer-WMF created this task.
Pginer-WMF moved this task from Backlog to Product integration on the MinT board.
Pginer-WMF raised the priority of this task from Medium to High.May 9 2024, 1:37 PM
ngkountas changed the task status from Open to In Progress.May 14 2024, 1:35 PM
ngkountas claimed this task.

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

[mediawiki/extensions/ContentTranslation@master] MinT MVP: Translate section titles in "View Translation" page

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

Change #1031525 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] MinT MVP: Translate section titles in "View Translation" page

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

Now, section titles are shown in the target language too. Good work!

en.m.wikipedia.org_wiki_Special_AutomaticTranslation(Wiki Mobile) (1).png (568×320 px, 52 KB)