Propose new functionalities for Decidim software
#DecidimRoadmap Designing Decidim together
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=
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
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
The development of this proposal has finished
- Reviewed by @product and accepted in the main project
- It is funded by Tremend
- Developed by Tremend
- Available in release 0.25 via #8169
List of Endorsements
Report inappropriate content
Is this content inappropriate?
9 comments
@carol hey ! Any updates on this proposal ? Thanks in advance :)
Conversation with Alexandru Emil Lupu
@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 )
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
@carol we just synchronized ourselves with Alexandru and updated the proposal accordingly. Could you review this please ? Thanks in advance.
@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"
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
Implemented in 0.25 - https://github.com/decidim/decidim/pull/8169
Conversation with Alexandru Emil Lupu
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.
Just adding what we talked also in the last meeting. The use cases for this new language selection are two:
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.
for participants that have clicked in a link from another participant with a "?locale=" in the URL.
Add your comment
Sign in with your account or sign up to add your comment.
Loading comments ...