Forum: Rails I18n Translate everything ok but activerecord.errors.template

Posted by Arthur Chan (arthurccube)
on 2010-04-04 18:15
Hi Guys,

My i18n locale yml files work well for all translation except the error
template header and body.

What's wrong with my yml:
<quote>
zh:
  activerecord:
    errors:
      template:
        header:
          one: "有 1 個錯誤發生,「{{model}}」無法儲存。"
          other: "有 {{count}} 個錯誤發生,「{{model}}」無法被儲存。"
        body: "下面的欄位有問題:"

</quote>
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.