backdrop-ops / localize.backdropcms.org

Host translation files for Backdrop CMS.
2 stars 4 forks source link

Notify about new translation suggestions #29

Open olafgrabienski opened 5 years ago

olafgrabienski commented 5 years ago

A translation supervisor should get an email notification when there are new translation suggestions in his or her group.

Recommendations:

olafgrabienski commented 5 years ago

To discuss: Who exactly should get the message? There are three options:

olafgrabienski commented 5 years ago

Regarding the implementation, I was hoping that the Rules module provides an event like "User has made a translation suggestion" but that's not the case.

@jenlampton Are you interested to extend Rules or to write a custom module for the notification about new translation suggestions?

(Regarding the latter approach maybe of interest: There is a "Translation statistics" block in each group which lists also the number of "suggestions awaiting approval". On "Translate" pages like https://localize.backdropcms.org/translate/languages/de/translate it's possible to filter the suggestion status: Has no / Has / Is suggestion.)

olafgrabienski commented 5 years ago

A completely different idea would be to not solve this technically on the Localization site but to discuss translation questions somewhere else, e.g. using external tools -- cf. https://github.com/backdrop-ops/localization/issues/7#issuecomment-410776691 -- or the Backdrop forums -- cf. https://github.com/backdrop-ops/localization/issues/7#issuecomment-412093628.

In this case, notifications about new translation suggestions would also be organized by the tool chosen by each individual translation group.

olafgrabienski commented 5 years ago

A completely different idea would be to not solve this technically on the Localization site but to discuss translation questions somewhere else (...)

At the moment, there is however the option (for group members) to suggest translations on the Localization site. People are starting to use this option. We need to inform people who can confirm the suggestions.

jenlampton commented 5 years ago

On "Translate" pages like localize.backdropcms.org/translate/languages/de/translate it's possible to filter the suggestion status: Has no / Has / Is suggestion.)

This should already be possible: https://localize.backdropcms.org/translate/languages/de/translate?project&status=32&release=all&search=&author&context=all&limit=10&sid=0

Click the "Reveal more filters" link at the lower left of the filters area:

reveal

Then it's the second drop-down under "Status"

more

We need to inform people who can confirm the suggestions.

@olafgrabienski can you please provide links to some of the pages where these things are happening? I want to be sure I know what you are asking for. Let's start with these:

1) A page with new translation suggestions block 2) A page with the "Translation statistics" block 3) A page that shows the author administrative member or translation supervisor for a group or language

olafgrabienski commented 5 years ago

On "Translate" pages like localize.backdropcms.org/translate/languages/de/translate it's possible to filter the suggestion status: Has no / Has / Is suggestion.)

This should already be possible: (...)

Yes, I just mentioned it because it might be of interest where the information is already available.

olafgrabienski commented 5 years ago

can you please provide links to some of the pages where these things are happening? I want to be sure I know what you are asking for.

Sure! I was asking primarily for an email notification when there are new translation suggestions in a group. (Still open question: who exactly should get the email.)

Regarding the links to pages:

There's is no "New translation suggestions" block, but there is the "Translation statistics" block, e.g. in the sidebar on the page https://localize.backdropcms.org/translate/languages/fr, and it contains the number of "suggestions awaiting approval". This block is sufficient, in my opinion, so no need for another one.

A page that shows the author, administrative member or translation supervisor for a group or language: