auth
auth copied to clipboard
Internationalization for Authentication Email Templates
Feature request
Internationalization for Authentication Email Templates
The Authentication Email Templates should be made available for i18n internationalization so you can send an email in any language based on the current language or locale setting.
So instead of having one set of templates, you'd have one set for each language your application supports. I.e. "en", "es", "fr", "de".
To keep existing compatibility you could leave the existing templates alone as the "default templates" but override those with a language-specific version of a language or locale code is set.
Describe alternatives you've considered
The only alternative would be to write a completely separate system, using a third-party email system, to replicate the automated features for password reset, email confirmation, etc.
Additional context
While it's relatively easy to create an internationalized login screen with libraries such as Angular's @ngx-translate/core, it's pretty awkward for a Spanish speaking user to sign up on a Spanish page then get an English confirmation email.