Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Design sign-up email #32

Open
john-gom opened this issue Jun 28, 2024 · 3 comments
Open

Design sign-up email #32

john-gom opened this issue Jun 28, 2024 · 3 comments
Labels
✨ enhancement New feature or request

Comments

@john-gom
Copy link
Collaborator

john-gom commented Jun 28, 2024

Add modified HTML templates from https://github.com/openfoodfacts/openfoodfacts-auth/tree/c833f3d370ca528069c7d4d335ea92d0698602d9/theme/base/email to https://github.com/openfoodfacts/openfoodfacts-auth/tree/c833f3d370ca528069c7d4d335ea92d0698602d9/theme/off and modify messages to match OFF wording.

Note: Keycloak doesn't provide a "sign-up" message per-se, but we want to use mail verification for new accounts, which could be used as a surrogate "welcome" mail

@john-gom
Copy link
Collaborator Author

I've noticed that the email is always in English and does not reflect my user's preferred language. @hangy is that the same for you?

@hangy
Copy link
Member

hangy commented Aug 30, 2024

Just tested on https://world.off.hangy.de/ and the German locale I selected for my account seems to work:

image

@john-gom
Copy link
Collaborator Author

Ok. I wonder if the message strings are coming from a different place than for the themes. I was using a dummy language XX that isn't in the standard keycloak list of locales

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ enhancement New feature or request
Projects
Status: First release
Development

No branches or pull requests

3 participants