So I've got the frontend setup with internationalization. Was setting up the backend and was thinking about having all localization handled on the frontend and the backend just return codes. But how would emails know what language to use?So, started setting up i18next on the backend but ran into the issue of i18next changes the system language. I need to just change the session language. So I set up sessions and am trying to figure out how to keep the language the same per session.I tried storing i18n in req.session.i18n just to see if it worked but it didn't. Anybody have any ideas?
Submitted September 18, 2020 at 04:32PM by frogg616
No comments:
Post a Comment