ready_for_i18n will help you extract visible hard-coded text from your ERB view files, then choose a proper key and replace them with the I18n.translate method like t(:login)
zigzag
gem "ready_for_i18n", "~> 0.2.4"