llorsat/wonkajs — pull request #6 by julianceballos (2013-01-27 01:59:35+00:00)
Title: Jceballos/i18n implementation method

We've added the code of i18n to project template.

Validate it doing:

* Create a new project
* Add to package.json a new language for example: es
* Edit file root/templates/main.html
* Modifify this template to get a localizable string, for example the h1 on this page.
* Now type: wonkajs i
* Edit the file es.json to write the string on spanish
* Now run server, try the project
* On a log write: setLanguage('es')
* Reload the website and you'll see the title string on spanish.