feedhenry / fhc-studio

FH Studio in Expresso
http://apps.feedhenry.com
Other
16 stars 7 forks source link

Support i18n #22

Closed cianclarke closed 12 years ago

cianclarke commented 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.

cianclarke commented 12 years ago

This has been completed by Evan - closing