AGROSICA/node-localize — Issue #1: Translate for non-default language only passes the first argument to buildString
Author: shawncplus
Created: 2012-01-06 05:38:33+00:00
State: open

The slice on https://github.com/AGROSICA/node-localize/blob/master/lib/localize.js#L201 is only grabbing the first argument to translate.

So translate("$[1] blah $[2]", "goodsubstitute", "badsubstitute") gets built as "goodsubstitute blah $[2]"