12 Translating the email templates
Marivaldo Júnior edited this page 2024-09-14 21:04:10 -03:00

If you set up mail Vaultwarden will send its mails in English. Since the server does not know about a user's preferred language settings (which is done completely client-side) it is currently not possible to provide multiple languages for different users on the same server.

If your users don't understand English you could translate the provided handlebar templates into your preferred language.

How to translate / customize the templates?

You can use customized templates by

  1. copying the respective files from the repository (from src/static/templates/email) to the corresponding TEMPLATES_FOLDER with the same folder structure (e.g. to data/templates/email)
  2. changing them (e.g. translate them - but be sure to keep the {{variables}} in the link intact so everything still works) and
  3. restarting vaultwarden to load the new (overwritten) templates.

Note: For ensuring compatibility you should initially download the templates for your version and you will also have to keep them up to date yourself if they ever change (or should new templates get added).

Translations

[!WARNING] Translations are provided as is by community members and we have not tested them. So use them at your own risk. If there has been a breaking change (e.g. caused by a new release of Vaultwarden) inform the maintainer and/or make a note here.