jamesknelson/derby-i18n — pull request #10 by switz (2013-05-11 22:12:21+00:00)
Title: Fix header check for locales

You were checking a mix of `req.acceptedLocales` and `req.acceptLocales`, neither of which truly exist. I believe you should be using `req.acceptedLanguages`. I tested it out and it worked wonderfully.

Found in: https://github.com/lefnire/habitrpg/pull/921#issuecomment-17768034