Closed cianclarke closed 12 years ago
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.
This has been completed by Evan - closing
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.