jeresig / i18n-node-2

Lightweight simple translation module for node.js / express.js with dynamic json storage. Uses common __('...') syntax in app and templates.
MIT License
507 stars 79 forks source link

Fix usage of res.locals in Express 3.x #5

Closed sylvinus closed 11 years ago

sylvinus commented 11 years ago

This patch is needed to work with Express 3.x, tested on 3.0.5 and 3.1.0

I'm using ejs 0.8.3 as a template engine.

maxwellium commented 11 years ago

I don't understand, why this is not being pulled..?

sylvinus commented 11 years ago

Probably because I messed up and futher commits from my branch got added to this PR. I'm resubmitting separate ones.