Metadecidim
Sign in

Process

Co-creating the roadmap 2025–2027

finished not yet on protocol

Language preference in participant settings

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

As a user it is not clear that selecting another language to browse the site updates my user preference.

As a user I want to be able to choose the language in which I will receive my email notifications.

Describe the solution you'd like

Given I'm a logged in user

I can visit my account page by clicking on my user name in the nav bar

Then I can see my language preference along with a text explaining this language is the one used to load the website.

Then I can select another language using a dropdown menu and clicking on the Update account. Doing so will reload the page in the language selected.

By default the associated language will be the one configured in the user's browser or the one set by the parameter in the url ?locale=

Group 223

Given I'm a logged in user

I can visit my account page by clicking on my user name in the nav bar and then click on the notification settings tab.

Then I can choose with a dropdown menu the preferred language to receive my email notifications.

By the language is the same as the preferred language to browse the site

I need to click on "Save changes" to update my language preference for notifications

language preference notifications

Additionnal context

We've added the notification preferred language as we need it to work on this proposal "Use machine translation in notifications".

Describe alternatives you've considered

https://meta.decidim.org/processes/roadmap/f/122/proposals/16314

Does this issue could impact on users private data?

No

Funded by

Possible contribution by Alexandru

9 comments

  1. @carol hey ! Any updates on this proposal ? Thanks in advance :)

    0 votes up 0 votes down
  2. @virgile_deville The proposal needs to be updated, so we can allow 2 drop downs ( one for the email preferred language, and one to display the locale in which the user is browsing the website )

    0 votes up 0 votes down
    1. Hey @alecslupu

      I don't think @product will be okay with having a second dropdown for email notification as they asked me to withdraw this proposal

      User language preference enhancement

      0 votes up 0 votes down
    2. @carol we just synchronized ourselves with Alexandru and updated the proposal accordingly. Could you review this please ? Thanks in advance.

      0 votes up 0 votes down
      1. @virgile_deville we agree to add a single language preference selector in the "My account" tab, and this selector defines the language for navigation and notifications.

        The contextual help text should say:

        "Choose the language you want to use to browse and receive notifications in Decidim"

        0 votes up 0 votes down
  3. Hello @virgile_deville @alecslupu

    I've gone ahead and created an issue at GitHub with what @product has in mind regarding this proposal: https://github.com/decidim/decidim/issues/8195

    0 votes up 0 votes down
  4. Implemented in 0.25 - https://github.com/decidim/decidim/pull/8169

    0 votes up 0 votes down
  5. We still need to add the language_preference into the account, as the user locale may be changed when a user clicks on a link that has ?locale=XX , and would change all his locale data, including email notifications.
    Also, this is going to impact the functionality of automatically see the translated text in email notifications.

    0 votes up 0 votes down
    1. Just adding what we talked also in the last meeting. The use cases for this new language selection are two:

      1. for admins or QAs, that make extensive i18n testing in the real app, and they found out later that they've received a notification in a wrong locale because they were in the middle of a test.

      2. for participants that have clicked in a link from another participant with a "?locale=" in the URL.

      0 votes up 0 votes down

Sign in with your Atmosphere account to comment.