jamuhl/i18next-node — pull request #121 by paulgrock (2013-12-19 02:17:19+00:00)
Title: Fixed a plus one error with options.detectLngFromPath

I'm having an issue with options.detectLngFromPath returning undefined if I specifc detectLngFromPath: 1 in the init options when trying to redirect.

The use case is trying to redirect from / to /foo/:lng.

The issue is the options.deteLngFromPath + 1 isn't defined even though it is less than parts.length.