From the README at https://github.com/mashpie/i18n-node they show how to set it up with express templates but it uses helpers:
// register helpers for use in templates
app.helpers({
__i: i18n.__,
__n: i18n.__n
});
Well in Express 3.0 there are no helpers so how do I register the i18n module with the templates?
Thanks for any help!
helpers are now renamed to locals:
app.locals({
__i: i18n.__,
__n: i18n.__n
});