Mardak / profile

2 stars 7 forks source link

consent page internationalization #57

Closed oyiptong closed 10 years ago

oyiptong commented 10 years ago

Uses angular-gettext and grunt tasks to: 1) from template, obtain strings to localize 2) create gettext templates 3) from localization files, compile into a JS object 4) localize strings in angular at runtime

To obtain strings using grunt, the template code had to be moved from ng/templates into the main pre-template DOM.

A new directive has been added to $compile the translated markup before adding to the Modals' DOM, in order for the Modal buttons to work.

closes #52