Open a rails console and run the following code:
require 'test/unit'
include Test::Unit::Assertions
class Person < ActiveRecord::Base; end
I18n.backend.store_translations :pt,
:activerecord => { :models => { :person => 'Pessoa',
:attributes => { :person => {:name => 'Nome'} } } }
assert_equal 'Person', Person.human_name
assert_equal 'Name', Person.human_attribute_name('name')
I18n.locale = :pt
assert_equal 'Pessoa', Person.human_name
assert_equal 'Nome',
I18n.t('activerecord.models.attributes.person.name')
assert_equal 'Nome', Person.human_attribute_name('name') # fail