Page MenuHomePhabricator

Show dialog to change source and target language for automatic translation for talk pages
Closed, DeclinedPublic

Description

User Story:

As a user I want to be able to select the source and target language of automatic translation so that I can read contents in my preferred language. For example, if the automatic language detection picks up a wrong source language the user can use the language selector to override it for talk pages

Acceptance criteria:

  • we are not certain how much of this needs to be implemented vs. what's already implemented, find out from language product localisation team.
  • When user clicks on the Source -> Target link on the automatic translation disclaimer text, open a dialog to allow them to select the languages
  • Use the relevant APIs that the language team is building (Phab ticket T287860)

Details for QA:

Ensure upon changing the source and/or target language, the translated text is updated to the selected language

Designs:

https://www.figma.com/design/JcTMFwbEJPpCKBiZ16Jkel/Future-of-the-Wishlist?node-id=3070-70687&t=33MJMSFMIW415rDy-1

Event Timeline

KSiebert renamed this task from Show dialog to change source and target language for automatic translation to Show dialog to change source and target language for automatic translation for talk pages.Sep 11 2024, 10:36 AM
KSiebert updated the task description. (Show Details)

I've added T371006 as a subtask of this, as it needs to be done before we add the ability to manually set the source language.

@santhosh Commtech is pulling this back into our backlog; we've received little feedback on the wish translation bit, and are still not sure how to translate a comment thread when Comment 1 is in Language A, and Comments 2 and 3 are in Languages B and C.

Right now, when we translate replies with multiple language replies, we get poor results on the 2nd+ replies. Lastly, we aren't sure if this functionality should live in the Wishlist gadget or extension, as it seems core to what the translate extension might want to support? cc @Samwilson

The Wishlist intake gadget has been superseded by MediaWiki-extensions-CommunityRequests per T366194#11553227, thus declining this task