As part of the process to scale the uses of MinT, we want to explore the use of machine translation to provide access to sections missing in other languages. The specific ways in which this will be exposed to users, will depend on the research and design explorations (T340997). However, there are technical services that are expected to be useful regardless of the specific UI used.
This ticket is focused on the technical explorations needed to support the translation of Wikipedia sections (one or several, including the lead section). These may include improvements in the machine translation API, approaches for dealing with content (links, references across sections, templates etc.) and similar technical aspects.
As part of the work in Content Translation, some of the above aspects have been resolved for the editing perspective, and (parts of) these approaches may or may not apply in this context of readers on a Wikipedia article.
Result
By adding the following line in the common.js in wikipedia, you can see the proof of concept
importScript( 'User:Santhosh.thottingal/mint-section-translation.js' );
Example: https://en.wikipedia.org/wiki/User:Santhosh.thottingal/common.js
Screenshot: