RailsCasts Pro episodes are now free!

Learn more or hide this

Arthur Corenzan's Profile

GitHub User: haggen

Comments by Arthur Corenzan

Avatar

Anyone trying translating ? I tried this, as mentioned in API docs:

http://api.rubyonrails.org/classes/ActiveModel/Translation.html

class TranslatedPerson
  extend ActiveModel::Translation
end

Actually what I am trying to do is translate the error messages. The message part like "can not be empty", etc. worked, but the attribute names still in english.