This site uses cookies. By continuing to browse the site, you agree to our use of cookies. Find out more about cookies.
Skip to main content
Metadecidim's official logo
  • English Triar la llengua Elegir el idioma Choose language
    • Català
    • Castellano
Sign Up Sign In
  • Home
  • Processes
  • Assemblies
  • Initiatives
  • Consultations
  • Conferences
  • Help

Propose new functionalities for Decidim software

#DecidimRoadmap Designing Decidim together

Phase 1 of 1
Open 2019-01-01 - 2030-12-31
Process phases Submit a proposal
  • The process
  • Debates
  • Propose new features
  • News
chevron-left Back to list

Use machine translation in notifications

Avatar: Virgile Deville Virgile Deville
29/01/2021 10:10  
Finished

Is your feature request related to a problem? A clear and concise description of what the problem is.


As a user who follows a space or a user I receive an email notification when a new content is published. Sometimes the content I receive is not in my language which makes the email notification unreadable for me. I have to click on the link to go on the page and see the machine translation.


As an admin or moderator of a participatory space, I receive an email notification when a new content is reported. Sometimes the content I receive is not in my language which makes the moderation really hard. I have to click on the link to go on the page and see the machine translation.


Describe the solution you'd like


As a user, when machine translations are activated (Feature introduced in PR 6127 https://github.com/decidim/decidim/pull/6127 (External link)), I'd like to receive the machine translated version of the UGC (user generated contents : proposals, meetings, debates, comments) in the email notifications along with the original content to avoid any confusion.


If in the admin the configuration is “Show translated text first” we will show the translated text first then the original text, and vice versa.


Please note, that implementing this functionality, requires that all the emails that are being sent in the application having UGC, will need to be delayed for a specific amount of time, to allow the machine translation mechanism to perform its tasks. This delay is implemented only if the machine translation is configured. At the moment the delay expires, the email will be sent, even though, at that point in time, the translation is not present (original text will be sent instead). A message will be included in the notification to explain why there is no translation "Sorry, the automated translation could not be retrieved when the email has been sent. You can check the translation of the original text on the following %{link}." (To be analyzed if here can be a private/ admin link or is mandatory to have a public link to resource)

In case the content posted in the same language as the recipient’s preferred language , then a text like: “The content has been posted in your preferred language (%{language}), this is why no automated translation is displayed in this email.”

To be analyzed if it’s possible to have an auxiliary behaviour, like : if the submitted content matches the language in which the recipient has chosen to receive its content, then the email to be sent instantly.

Describe alternatives you've considered


No


Does this issue could impact on users private data?


No


Funded by


EU Commission

  • Filter results for category: Follow and notifications Follow and notifications

The development of this proposal has finished

  • Reviewed by @product and accepted in the main project
  • It is funded by European Commission
  • Developed by Tremend
  • Available in release 0.26 via #8174

List of Endorsements

Avatar: Juan Ellesen Juan Ellesen
Avatar: Alexandru Emil Lupu Alexandru Emil Lupu
Endorsements count2
Use machine translation in notifications Comments 9

Reference: MDC-PROP-2021-01-16207
Version number 5 (of 5) see other versions
Check fingerprint

Fingerprint

The piece of text below is a shortened, hashed representation of this content. It's useful to ensure the content hasn't been tampered with, as a single modification would result in a totally different value.

Value: caa5067e96e75e1a8ff61cf7b6d8d626a293ff98c380b66eab350e2ded61b843

Source: {"body":{"en":"<p><strong>Is your feature request related to a problem? A clear and concise description of what the problem is.</strong></p><p><strong><br></strong>As a user who follows a space or a user I receive an email notification when a new content is published. Sometimes the content I receive is not in my language which makes the email notification unreadable for me. I have to click on the link to go on the page and see the machine translation.</p><p><strong><br></strong>As an admin or moderator of a participatory space, I receive an email notification when a new content is reported. Sometimes the content I receive is not in my language which makes the moderation really hard. I have to click on the link to go on the page and see the machine translation.</p><p><strong><br>Describe the solution you'd like</strong></p><p><strong><br></strong>As a user, when machine translations are activated (Feature introduced in PR 6127 https://github.com/decidim/decidim/pull/6127 (External link)), I'd like to receive the machine translated version of the UGC (user generated contents : proposals, meetings, debates, comments) in the email notifications along with the original content to avoid any confusion.</p><p><strong><br></strong>If in the admin the configuration is “Show translated text first” we will show the translated text first then the original text, and vice versa.</p><p><strong><br></strong>Please note, that implementing this functionality, requires that all the emails that are being sent in the application having UGC, will need to be delayed for a specific amount of time, to allow the machine translation mechanism to perform its tasks. This delay is implemented only if the machine translation is configured. At the moment the delay expires, the email will be sent, even though, at that point in time, the translation is not present (original text will be sent instead). A message will be included in the notification to explain why there is no translation \"Sorry, the automated translation could not be retrieved when the email has been sent. You can check the translation of the original text on the following %{link}.\" (To be analyzed if here can be a private/ admin link or is mandatory to have a public link to resource)</p><p>In case the content posted in the same language as the recipient’s preferred language , then a text like: “The content has been posted in your preferred language (%{language}), this is why no automated translation is displayed in this email.”</p><p><strong>T</strong>o be analyzed if it’s possible to have an auxiliary behaviour, like : if the submitted content matches the language in which the recipient has chosen to receive its content, then the email to be sent instantly.</p><p><strong>Describe alternatives you've considered</strong></p><p><strong><br></strong>No</p><p><strong><br>Does this issue could impact on users private data?</strong></p><p><strong><br></strong>No</p><p><strong><br>Funded by</strong></p><p><strong><br></strong>EU Commission</p>"},"title":{"en":"Use machine translation in notifications"}}

This fingerprint is calculated using a SHA256 hashing algorithm. In order to replicate it yourself, you can use an MD5 calculator online and copy-paste the source data.

Share:

link-intact Share link

Share link:

Please paste this code in your page:

<script src="https://meta.decidim.org/processes/roadmap/f/122/proposals/16207/embed.js"></script>
<noscript><iframe src="https://meta.decidim.org/processes/roadmap/f/122/proposals/16207/embed.html" frameborder="0" scrolling="vertical"></iframe></noscript>

Related images

Frame 2.png

Report inappropriate content

Is this content inappropriate?

Reason

Comment details

Order by:
  • Older
    • Best rated
    • Recent
    • Older
    • Most discussed
You are seeing a single comment

View all comments

Avatar: Virgile Deville Virgile Deville
21/05/2021 16:01
  • Get link Get link

@carol I think we are all set here ! Can alecs send a PR for this ?

Loading comments ...

  • Terms and conditions of use
  • About the community
  • Download Open Data files
  • Metadecidim at Twitter Twitter
  • Metadecidim at Instagram Instagram
  • Metadecidim at YouTube YouTube
  • Metadecidim at GitHub GitHub
Creative Commons License Website made with free software.
Decidim Logo

Confirm

OK Cancel

Please sign in

decidim Sign in with Decidim Barcelona
Or

Sign up

Forgot your password?