Page MenuHomePhabricator

Optimize Wikimedia Commons edit suggestions
Open, LowPublic

Description

Investigate how to optimize Wikimedia Commons edit suggestions from a foreign language (app + device language is set to English in the examples below). Either by fixing the root of the problem (check images from commons) or offering help, e.g., with Google Translate. How would a Google Translate integration work and look like? Feel free to explore

Screenshot_20220511-113819.png (2×1 px, 1 MB)
Screenshot_20220511-114106.png (2×1 px, 501 KB)

Event Timeline

Hi @scblr
I have an APK for you to check out one of the possible solutions, which turns out pretty good!
https://github.com/wikimedia/apps-android-wikipedia/pull/3358

Here's a demo video:
https://youtu.be/wqNueHtXNEM

Please note that if you are going to translate a certain language for the first time, the system will need to download a language pack before translating text.

Hi @scblr

About using the translation API, since it is from the Google Cloud Translation API, we should follow its policy while using it.
https://cloud.google.com/translate/attribution

If we are going to process this solution, we will need to talk to the legal team to confirm the usage.

Looks pretty good to me, @cooltey 👏 — I think let’s get the approval of legal first before we invest time in fine-tuning it. CC: @JTannerWMF @LGoto as we might want to discuss this in the planning meeting tonight (added it to the agenda).


Also adding our conversation on Slack here to have everything in one place:

Robin: Wondering, can we implement it in a way that the interface doesn’t “jump” after loading?
Cooltey: Yes we can, and the “jumping” is temporary. Any suggestion for the actual view? e.g. showing loading circle? or long-press to show? or something else?

Looks pretty good to me, @cooltey 👏 — I think let’s get the approval of legal first before we invest time in fine-tuning it. CC: @JTannerWMF @LGoto as we might want to discuss this in the planning meeting tonight (added it to the agenda).

Move this to “blocked and waiting” until we know more from legal.

So it seems like Legal is okay with us doing this. I think there is some thinking that should happen

Thinking on letting people know the pack will be downloaded. What do you think @scblr?

Good idea @JTannerWMF. I think users need to confirm using machine-translated suggestions.

Flow:

  • Show a dialog that says why this is beneficial and what is done (see “Copy”)
  • User taps 'Enable'
  • Similar to reading lists – a background process runs in the notification center and shows when the download is complete

Copy:

  • Title: Enable translation suggestions?
  • Copy: You might notice image descriptions in other languages. We can support you with machine-translated suggestions from the Google’s Cloud Translation API. The translation suggestions are optional and help understand an image’s context better.
  • Buttons: Cancel, Enable

CC @cooltey

LGoto added a subscriber: cooltey.