Skip to content

Fix: notify locale on new user email

What does this MR do and why?

Reason

Right now the email template for new user email notification can only be sent in English

Result

in this MR I updated the template with i18n enabled strings instead of hardcoded strings. After this MR it will be able to send languages the user prefers.

How to test locally

  1. Start your GDK instance locally or via gitpod or other ways
  2. Open the browser with your instance with path gdk/rails/mailers/notify/new_user_email
  3. Observe.

/cc @prajnamas @orozot @qk44077907 @JeremyWuuuuu @luzhiyuan.deer

Screenshots or screen recordings

Before After
Snipaste_2022-09-08_15-07-19 Snipaste_2022-09-08_15-06-59

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by qt

Merge request reports

Loading