Making WordPress.org

Opened 5 years ago

Last modified 3 years ago

#4518 new task (blessed)

Plan: translation discussions/feedback

Reported by: yoavf's profile yoavf Owned by:
Milestone: Priority: normal
Component: Translate Site & Plugins Keywords: needs-patch needs-design
Cc:

Description

Based on discussions in WCEU 2019 contributor day, we'd like to allow translators and translation editors to communicate about specific strings and translations.

Core GlotPress implemented a "Notes" feature, but as a native GP feature, it lacks any type of notification support or any of the basic features we associate with comments or discussion (threading, mentions, spam detection etc).

Instead, we'd like to build a bridge between translate.wordpress.org and a per-locale specific translations forum.

This will include:

  • On the GlotPress side, every original should have a link to a specific forum topic to discuss its translation to the locale. If the topic doesn't exist, it will link to a pre-populated form to create it. Otherwise, it will list the number of posts on that topic.

Bonus:

  • When rejecting a translation, the validator will be able to enter a comment about the rejection reason, which will be added to the topic as well.

Attachments (9)

4518-ui-ideas.png (212.7 KB) - added by ocean90 5 years ago.
4518-ui-ideas-1.png (191.0 KB) - added by ocean90 5 years ago.
4518-ui-ideas-2.png (93.2 KB) - added by ocean90 5 years ago.
4518-ui-ideas-3.png (55.9 KB) - added by ocean90 5 years ago.
4518-ui-ideas-4.png (84.4 KB) - added by ocean90 5 years ago.
4518-flow-idea-1.png (539.1 KB) - added by Nao 3 years ago.
Feedback tool flow idea
4518-ui-ideas-5.png (149.2 KB) - added by Nao 3 years ago.
UI Idea (just another additional one to the existing ideas)
4518-ui-ideas-6.png (375.3 KB) - added by Nao 3 years ago.
Feedback screen
4518-ui-ideas-7.png (149.2 KB) - added by Nao 3 years ago.

Download all attachments as: .zip

Change History (36)

#1 @yoavf
5 years ago

Some tasks:

Dev:

  • Script to create a forum called translations in each one of the rosetta sites. Some sites need bbPress setup first.
  • Form to post a new topic about a string (=original). Should automatically tag the topic with the project path, so that PTE can subscribe to the tag.
  • Functionality to fetch replies from a topic for display
  • Remove the "Notes" feature from core GlotPress.

Design:

  • If the topic doesn't exist - link+form to create the topic (within GP UI)
  • It topic exist, link to topic with helpful meta (Original author, date, last updated, number of replies)
Last edited 5 years ago by yoavf (previous) (diff)

#2 @yoavf
5 years ago

Additional tasks:

Last edited 5 years ago by yoavf (previous) (diff)

#3 follow-up: @ocean90
5 years ago

The topics will be created in a translations forum for each locale

At the moment only ar.wordpress.org and he.wordpress.org have a forum for translation (without s).

#4 @ocean90
5 years ago

In 8969:

Translate: Add initial plugin for discussion implementation.

See #4518.

#5 @ocean90
5 years ago

In 8971:

Translate: Add custom action to extend meta section.

See #4518.

#6 @ocean90
5 years ago

In 8972:

Translate, Discussion: Retrieve REST API URL by locale.

See #4518.

#7 @ocean90
5 years ago

In 8987:

Translate, Discussion: Start with basic UI elements for creating a new discussion and rejecting with feedback.

See #4518.

This ticket was mentioned in Slack in #polyglots by nao. View the logs.


5 years ago

@ocean90
5 years ago

This ticket was mentioned in Slack in #polyglots by nao. View the logs.


5 years ago

This ticket was mentioned in Slack in #glotpress by ocean90. View the logs.


4 years ago

This ticket was mentioned in Slack in #polyglots by ocean90. View the logs.


4 years ago

#12 @coreymckrill
4 years ago

Would it be feasible to run bbPress on the translate.wordpress.org site itself, rather than connecting to forums over on Rosetta sites via the REST API? (As far as I can tell, bbPress does not currently have any REST API endpoints.) But I also don't know whether the way GlotPress handles the front end would allow for bbPress functionality.

If we did that, maybe the URL structure for the forums would end up being something like translate.wordpress.org/forum/he/.

#13 @andreamiddleton
4 years ago

I'm so enthusiastic about making it possible to reject translation submissions with feedback! Yay! A few questions:

  1. Would both the PTE/GTE and the translation contributor be "automagically" subscribed to updates on the rejection + feedback topic? If so, it seems like we'll need add a note on the translation submission screen, so people know they'll get an email if their translation is rejected.
  2. I'm assuming all the feedback will be publicly visible, right? I think this will be important, because then new contributors will be able to learn from other people's feedback.
  3. When I think about what these forums will look like, though, I get a little sad... because they'll basically be repositories of rejection and criticism. While we're making feedback possible, could we also allow for an "Approve with feedback" option, so that PTE/GTEs could also share praise and appreciation for good translations?

#14 @Nao
4 years ago

Would both the PTE/GTE and the translation contributor be "automagically" subscribed to updates on the rejection + feedback topic? If so, it seems like we'll need add a note on the translation submission screen, so people know they'll get an email if their translation is rejected.

It makes sense that everyone is subscribed to the updates. We will need some sort of note to tell them they'll receive email (also, can users control notification setting from https://profiles.wordpress.org/me/profile/notifications/ for this?).

I'm assuming all the feedback will be publicly visible, right? I think this will be important, because then new contributors will be able to learn from other people's feedback.

+1 to publicly visible feedback.

When I think about what these forums will look like, though, I get a little sad... because they'll basically be repositories of rejection and criticism. While we're making feedback possible, could we also allow for an "Approve with feedback" option, so that PTE/GTEs could also share praise and appreciation for good translations?

This is very true. I try to use a positive & helpful tone for my feedback, but this becomes more important when the intraction becomes more visible to everyone. I'd love it if there is a feature that will make sure G/PTEs follows such practice.

#15 @coreymckrill
4 years ago

Given that these feedback discussions should include automatic notifications to interested parties, and they should be public, a bbPress forum seems like the best way to go. There are a couple of different ways that might work for implementation:

  • Use the existing bbPress forums on the Rosetta sites, as suggested earlier in this ticket.
    • Pros: Forums are already set up on most/all sites. The forum UI is translated into the locale of that site.
    • Cons: The interaction between GlotPress and bbPress would need to be via the REST API, since they are running on separate sites. bbPress does not currently have REST API endpoints enabled. Also, each locale is a separate installation of bbPress, which could add complexity if there are configuration differences between the sites.
  • Enable bbPress on translate.wordpress.org
    • Pros: GlotPress and bbPress code can run side-by-side during the same request, with no need to develop REST API endpoints. There would only be one bbPress instance to manage. The feedback discussions would be "closer" to the translation tools, since they would share the same domain in the URL.
    • Cons: GlotPress is currently configured to be accessed from the root of the site (via define( 'GP_URL_BASE', '' )), so rendering the front end bbPress UI is probably not possible without some kind of modification to GlotPress.

#16 follow-up: @evarlese
4 years ago

From the original description:

every original should have a link to a specific forum topic to discuss its translation to the locale

I'm curious if this means that every string, regardless of status, will have its own thread in the forums? Or will a thread only be created for strings with feedback? In either case, one thing to consider is creating a good practice or process for managing spam, even if that means just checking that we can use Akismet or something along those lines considering the sheer number of threads that we'll be generating. (Which is also exciting, I should add!)

This may be a question for @ocean90, but I wonder if there is a way to leverage statuses in GlotPress, as well. Right now, when a translator gets feedback, the original string needs to be manually rejected (either by the translator or the editor) after providing a new suggestion (related GitHub issue). Given the possibility, it may be useful to consider a workflow where strings can be edited after receiving feedback, without needing to reject the original.

#17 in reply to: ↑ 16 @tellyworth
4 years ago

Replying to evarlese:

I'm curious if this means that every string, regardless of status, will have its own thread in the forums? Or will a thread only be created for strings with feedback?

I imagine we'd only create threads as needed when feedback is given. We can perhaps lock the forums down so that only editors can create threads, and only by providing feedback. And perhaps replies are limited in some way also.

This ticket was mentioned in Slack in #meta by tellyworth. View the logs.


4 years ago

#19 in reply to: ↑ 3 @SergeyBiryukov
4 years ago

Replying to ocean90:

The topics will be created in a translations forum for each locale

At the moment only ar.wordpress.org and he.wordpress.org have a forum for translation (without s).

FWIW, ru.wordpress.org has a translations forum for more than 10 years now :)

#20 follow-ups: @tellyworth
4 years ago

How does this sound as a MVP solution? -

We create a special bbpress forum, one per locale, specifically for translation feedback.

Each forum would be on translate.w.org with a URL something like translate.wordpress.org/feedback/ru.

Only translation editors will be able to make new topics. Translators can reply.

From the transation UI, editors will have a link that takes them to a separate page on the translation feedback forum where they can either create a new topic for the string; or reply to the existing topic if there is one. This page will be a custom version of the bbpress New Topic UI.

When feedback is given, an email notification will be sent to the translator with a link to the bbpress topic.

I'm proposing doing things this way because all of the work can be done in a bbBress theme/plugin, rather than within GlotPress. I think that will be easier to get started than the other way around.

Later we can integrate a UI inside GlotPress.

#21 in reply to: ↑ 20 @evarlese
4 years ago

Chiming in to say I like this option for an MVP :)

Only translation editors will be able to make new topics. Translators can reply.

Not sure how much (or if) this will complicate things, but I would suggest allowing both General Translation Editors and Project Translation Editors to be able to start a new topic. For PTEs, permission to approve strings is per project, so that's something we would likely want to keep in mind for permissions.

#22 in reply to: ↑ 20 @Nao
4 years ago

I like the MVP idea too. The benefit of having feedback comments in GlotPress is it's easier to find, but at the same time, it may clutter the visual and the translation flow. bbPress is made for having comment interaction, so it already has all the needed features, that's a nice plus.

+1 to letting PTEs also start a new topic (in the future, if it requires extensive changes).

This ticket was mentioned in Slack in #polyglots by nao. View the logs.


4 years ago

This ticket was mentioned in Slack in #polyglots by nao. View the logs.


3 years ago

This ticket was mentioned in Slack in #polyglots by nao. View the logs.


3 years ago

@Nao
3 years ago

Feedback tool flow idea

@Nao
3 years ago

UI Idea (just another additional one to the existing ideas)

@Nao
3 years ago

Feedback screen

@Nao
3 years ago

#26 @Nao
3 years ago

I added some more UI ideas based on @tellyworth's proposed MVP.

This ticket was mentioned in Slack in #polyglots by evarlese. View the logs.


3 years ago

Note: See TracTickets for help on using tickets.