I\'ve found that Rails allows for generic i18n of submit buttons via the following in config/locales/en.yml
:
en:
helpers:
submit:
cr
From the source code, it looks like you should be able to do this:
en:
helpers:
submit:
post:
create: "Upload %{model}"
where post
is the name of your model. The inline docs also mention that you can do this.
If you use the i18n-debug gem, the rails server will print translations look-up attempts to the console, like:
[i18n-debug] en.helpers.submit.post.create => nil