feedhenry/fh-studio — Issue #22: Support i18n
Author: cianclarke
Created: 2012-01-31 10:45:32+00:00
State: open

Support i18n through dust. String files should be JSON, in a client/lang directory. e.g.

en.json:

{
"studioname" : "Feedhenry Studio",
"someotherkey" : "Some Other Value"
}

then when returning from express:
{
d: {},
lang: {} // as above
}

then, dust templates will apply the language to the template.