Closed ricknjacky closed 3 years ago
Ooch. I'm not a big fan of hard coded localization. Is it possible to include it in a localization file instead?
Ooch. I'm not a big fan of hard coded localization. Is it possible to include it in a localization file instead?
Agreed. After, discussing the previously proposed solution with @NikhilM98, He suggested that I create a new JS file with a function that generates translated emails and then eventually call this function in api/controller/users.js
file.
This way, the mail generation process will be more robust and rightly so. I have integrated this feedback in my recent commits, kindly review it and share feedback/suggestions if any.
@llaske Now we use localization files. tested with both hindi and english.
issue ref:- #15