Metadecidim
Sign in

Process

Co-creating the roadmap 2025–2027

finished not yet on protocol

Automatic translation for user generated content

We are working with the Belgium Federal State. As Dutch and French are official languages our client is asking of us ways we could provide automatic translation to user generated content like proposals and comments .

We've been exploring services like Deepl.com that seem to provide an interesting alternative to Google translate.

What does the Decidim community thinks of such a feature ?

11 comments

  1. This is a great idea. It needs a detailed explanation of how to implement it at product level.
    This feature has been previously discarded for the following reason: when participant-generated content is actuable in terms of decision making processes it is hard to provide a rigorous automatic translation, participants might be voting things that are not well translated and this is dangerous. However, this would only apply to certain types of content. It is certainly desirable that discussions, etc. or even some types of proposals have automatic translation, specially if this is something that is well warned and identifiable and something optional from the admin panel to activate.

    0 votes up 0 votes down
    1. I agree. At the product level it would make sense to offer it as config option that can be activated at the feature level.

      0 votes up 0 votes down
    2. In recent conversations with @virgile_deville he proposed to have to steps to implement this feature. The easiest MVP would be one in which translations are displayed on demand by users clicking a translation button, these translations will not be stored, just displayed for the occasion and should be clearly shown to be ad-hoc translations by an external engine. The next step would be to try to include this as a module in decidim, this would demand architectural changes that are beyond my capacity to evaluate. This second case will require a careful evaluation of the architectural impact and how to implement it. It should always be displayed that the translation is not official and a link to the original proposal language version always visible. The same goes for comments or other participant-generated content. @virgile_deville let me know if I left anything important behind.

      0 votes up 0 votes down
    3. You got everything. Thanks for taking of suming up our conversation. I guess next step is to check if Deepl's API can respond to our needs : https://www.deepl.com/api-reference.html To be taken in consideration Deepl only offers this languages : es, en, fr, it, nl, pl and de. This is problematic @xabier as it doesn't cover Catalan so we might to go for another automatic translation providor --> Google Translate (😈)

      0 votes up 0 votes down
      1. We don't need this in Barcelona, Catalan and Spanish are co-official languages and very similar.

        0 votes up 0 votes down
        1. So you'd be willing to go with Deepl anyhow ? What about euskera ?

          0 votes up 0 votes down
    4. Hey @virgile_deville how did this end? Did you finally check the DeePL's API? Are you guys planning on developing something with automatic translations?

      0 votes up 0 votes down
      1. Hey @carol !

        We developed this in may. You cans see the result here : https://monopinion.belgium.be/processes/stopfakenews

        The code is here : https://github.com/OpenSourcePolitics/decidim/tree/0.10-stable-trad-auto-merge

        and the app here : https://github.com/OpenSourcePolitics/osp-app/tree/alt/bosa

        0 votes up 0 votes down
        1. woooow!! This is awesome!! I had no idea! We'll check the code but this definitely a much wanted/needed feature

          1 votes up 0 votes down
  2. Just to mention another alternative, not sure about feasibility, UX, and so on, but we could optionally allow users to translate their own content. It would be (quite a lot of) extra work for users, but it would be quality content, and it could show a positive effort of users who opt-in towards mutual understanding.

    0 votes up 0 votes down
    1. This idea has been considered before, but it is far from trivial how to deal with conflicts (such as a participant intentionally translating an opposing proposal wrong, or how to deal with conflicts, or how to authorize or block users, etc.).

      0 votes up 0 votes down

Sign in with your Atmosphere account to comment.