translation overrides from skin json files are not used when sending emails
Concerned version
Version: 2.0.14
Summary
- create all.json in your template directory
{
"click2Reset": "My custom message"
}
- Try to reset password
- Custom translation is not used
- Overriding in lemonldap-ng.conf works
Possible fixes
-
translate
should lookup portal trOverCache in addition (instead?) of trOver - However, trOverCache is lazy initialized on the first sendHtml, we should perhaps do that in a separate function