You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: