Rails 3 - i18n型号名称

时间:2012-10-03 16:10:09

标签: ruby-on-rails-3 internationalization

如何在config/locales/en.yml中为<%= f.submit %>等脚手架设置模型名称?

1 个答案:

答案 0 :(得分:5)

en:
  hello: "Hello world"
  activerecord:
    models:
      blog_post: "Post"