I18n for model-specific Rails submit button
问题 I've found that Rails allows for generic i18n of submit buttons via the following in config/locales/en.yml : en: helpers: submit: create: "Create %{model}" submit: "Save %{model}" update: "Update %{model}" However, I'm looking to update the create value only for one specific model. I'd like the text to read as "Upload %{model}" or just "Upload". How can I make this change for just one model (e.g.: a Photo model)? 回答1: From the source code, it looks like you should be able to do this: en: