标签: ruby-on-rails-3 internationalization
如何在config/locales/en.yml中为<%= f.submit %>等脚手架设置模型名称?
config/locales/en.yml
<%= f.submit %>
答案 0 :(得分:5)
en: hello: "Hello world" activerecord: models: blog_post: "Post"