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

Implement language specific email translation #7

Open
5 tasks
mikkelgthang opened this issue Jun 26, 2020 · 1 comment
Open
5 tasks

Implement language specific email translation #7

mikkelgthang opened this issue Jun 26, 2020 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@mikkelgthang
Copy link
Contributor

It is currently only the frontend part of the website that support translations. This means that the website's user will always recieve the requested email from the backend in english, no matter the language the website has been translated to. It would improve the overall user experience, if the email sent shared the same language. This can be accomplished by completing the following tasks:

  • Add the language code of the enabled language as a parameter in the api-call to the backend.
  • Implement i18n support natively in the backend.
  • Write simple translations to the content of the email.
  • Handle the given language code parameter in the HTTP-request within the component_controller by changing to the requested language if available.
  • Load the content of the email from the proper translation files.
@github-actions
Copy link

Thank you for helping out the development of this project by placing your first issue. The team behind nwa will address its issues as soon as possible. Best regards, the developers.' first issue

@mikkelgthang mikkelgthang added enhancement New feature or request good first issue Good for newcomers labels Jun 26, 2020
@simoneengelbr simoneengelbr changed the title Implement language specific emailtranslation Implement language specific email translation Jul 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant