not translating email_invalid (i18n) #332

luisfernandos opened this Issue Sep 28, 2012 · 1 comment

2 participants


Hi I am using Rails 3 with Ruby 1.9.2 and this key is not being translated, it is always in english.


pull request submitted: #349

alternative solution you can implement in your app without touching authlogic:

  acts_as_authentic do |c|
    c.merge_validates_format_of_email_field_options( message:{I18n.t('authlogic.error_messages.email_invalid')} )

Both assume that you have provided translations like this:

      email_invalid: XXX email is not valid XXX
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment