I can generate views and translations but how do i generate views with keys instead of static text? I have to edit my vies to put in the keys manually?
Read Rails internationalization guide: http://guides.rubyonrails.org/i18n.html
Whats that have to do with devise?
If you have devise templates in mind (which you generate with rails generate devise:views
), then you use Rails Internationalization API - just replace static text with #t methods, and add any missing strings to the localization file.