impactoss / impactoss-server

IMPACT OSS - server-side application & API
https://demo.impactoss.org
MIT License
3 stars 8 forks source link

Switch from setting `I18n.locale` to using `I18n.with_locale` #390

Closed parndt closed 8 months ago

parndt commented 8 months ago

When sending emails using the clockwork scheduler the I18n.locale is still not being picked up properly, so we can switch to using the block level I18n.with_locale which lets us supply the locale to use for the current block of code.