linagora / twake-drive

The open-source alternative to Google Drive.
GNU Affero General Public License v3.0
105 stars 20 forks source link

Use a single template per-email and localise it within the template #691

Open ericlinagora opened 1 month ago

ericlinagora commented 1 month ago

Currently e-mail templates exist in versions for en and fr. This ticket is about making a single template, and from within it calling translation labels (already available in the backend though rarely used).

related: #402

Popokok commented 1 day ago

Hi, I would like to work on this issue.

ericlinagora commented 1 day ago

Sure, welcome

Popokok commented 3 hours ago

Hi. I'm pretty sure I know how to deal with this issue, but I ran into a problem. I can't find a way how to test it. Do you perhaps have any ideas?

ericlinagora commented 3 hours ago

Hi, if this value https://github.com/linagora/twake-drive/blob/main/tdrive/backend/node/config/default.json#L114 is true, it should print emails in the logs. Heads up though, we're probably going to work on this soon too