Turns out that even if you install a translation for Devise, it only translates e-mail strings and flash messages — it does not include translations for the views (e.g. the Sign In page, the Register page, etc.). You have to use rails:generate to dump the built-in views to file so you can override them and replace all the strings with I18n t() calls yourself.
Not impressed right now.
I wonder if I should take some time to update the views in Devise itself, move the English translations into the locale file and submit a pull request…
Leave a Reply