{"issue":{"state":"open","created_at":"2011-12-07T01:46:18Z","updated_at":"2011-12-07T13:35:54Z","user":{"gravatar_id":"a416b2f695bfa8ac6ec1a71d52b30fbd","id":8669,"url":"https://api.github.com/users/ahx","login":"ahx","avatar_url":"https://secure.gravatar.com/avatar/a416b2f695bfa8ac6ec1a71d52b30fbd?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":5,"body":"If you put this in config/locales/en.yml (in the test-rails-app that's generated by ./script/local server),\r\n\r\n```yml\r\nen:\r\n  hello: \"Hello world\"\r\n  activerecord:\r\n    models:\r\n      category:\r\n        one: Denomination\r\n        other: Denominations\r\n```\r\nthen start the app with ./script/local server\r\nand open http://localhost:3000/admin/categories/5/edit\r\nyou get this: ![denominations mixed with categories](http://p.twimg.com/AgBmds5CQAAUoMJ.png)\r\n\r\nIf you open a console you get:\r\n\r\n```irb\r\nruby-1.9.2-p290 :001 > Category.model_name.human\r\n => \"Denomination\" \r\n```\r\n\r\nRunning AA edge (3c4ac594f5571e6792d1834cf54f973c7da9107b)\r\n(this happen with both Rails 3.1.0 and 3.1.3)\r\n\r\n\r\n\r\n","assignee":null,"labels":[{"name":"Bug","color":"e10c02","url":"https://api.github.com/repos/gregbell/active_admin/labels/Bug"}],"id":2470189,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":820,"title":"`resource_name` does not use the host app's translation","html_url":"https://github.com/gregbell/active_admin/issues/820","closed_at":null,"url":"https://api.github.com/repos/gregbell/active_admin/issues/820","milestone":null},"action":"created","comment":{"created_at":"2011-12-07T13:35:54Z","updated_at":"2011-12-07T13:35:54Z","user":{"gravatar_id":"a416b2f695bfa8ac6ec1a71d52b30fbd","id":8669,"url":"https://api.github.com/users/ahx","login":"ahx","avatar_url":"https://secure.gravatar.com/avatar/a416b2f695bfa8ac6ec1a71d52b30fbd?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"i have a question: how should one write a (failing) spec for this? I should add the translation via the spec/support/rails_template.rb and add a integration spec or cucumber feature, right?","id":3047165,"url":"https://api.github.com/repos/gregbell/active_admin/issues/comments/3047165"}}