# Translate everything ok but activerecord.errors.template

**URL:** <https://www.ruby-forum.com/t/translate-everything-ok-but-activerecord-errors-template/186316>\
**Category:** Rails I18n\
**Created:** [April 4, 2010, 6:15pm UTC](https://www.ruby-forum.com/t/translate-everything-ok-but-activerecord-errors-template/186316 "2010-04-04T18:15:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![artchrst](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/e36b37/32.png) [@artchrst](https://www.ruby-forum.com/u/artchrst)\
**Post date:** [April 4, 2010, 6:15pm UTC](https://www.ruby-forum.com/t/translate-everything-ok-but-activerecord-errors-template/186316/1 "2010-04-04T18:15:17Z")

</div>

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:  
  
zh:  
activerecord:  
errors:  
template:  
header:  
one: “æœ‰ 1 å€‹éŒ¯èª¤ç™¼ç”Ÿï¼Œã€Œ{{model}}ã€ç„¡æ³•å„²å­˜ã€‚”  
other: “æœ‰ {{count}} å€‹éŒ¯èª¤ç™¼ç”Ÿï¼Œã€Œ{{model}}ã€ç„¡æ³•è¢«å„²å­˜ã€‚”  
body: “ä¸‹é¢çš„æ¬„ä½æœ‰å•é¡Œï¼š”
