Quick question on how the best way to use i18n.__() functionality outside of a request. I have got things working inside of express by following your examples, and all good.
So the question is if I need to use the i18n.__() functionality outside of an express request (where I have no 'req' object) what is the best practice? Just create another i18n instance, or get the existing one from somewhere (app? express?) .
Quick question on how the best way to use i18n.__() functionality outside of a request. I have got things working inside of express by following your examples, and all good.
So the question is if I need to use the i18n.__() functionality outside of an express request (where I have no 'req' object) what is the best practice? Just create another i18n instance, or get the existing one from somewhere (app? express?) .
Thanks Sandy