エラーの日本語化

3 errors prohibited this #{model_name} from being saved:

ここの部分だけ日本語化忘れる。いけね。

rails-i18n/rails/locale/ja.yml at master · svenfuchs/rails-i18n · GitHub

を「#{RAILS_ROOT}/config/locales」に保存後、

<%= pluralize(@account.errors.count, "error") %> prohibited this account from being saved:</h2>

<%=t "activerecord.errors.template.header.other", :model => Order.model_name.human, :count => @account.errors.count %>

に変更。

xxxに4つのエラーが発生しました。 

という感じになる。ja.ymlの設定が鍵。