robfletcher / grails-angular-scaffolding

A Grails plugin for scaffolding views using Angular.js
http://grails-ng.cloudfoundry.com/
87 stars 43 forks source link

Support i18n #18

Open robfletcher opened 12 years ago

robfletcher commented 12 years ago

Currently all label text is hardcoded.

jahan-paisley commented 10 years ago

I've moved the generated html files from web-app to views under grails-app folder. Renaming them to _action.html.gsp enable me to use i18n messages and more important using gsp variables and tags. To serve them I've added a ViewController accompanied with a special routes in UrlMapping. Now I can even set special permissions on those views.