How to change case of interpolated variables in Rails locale file?
问题 Using Rails 3.1.3 with Ruby 1.9.3p0. I've discovered that by default, Rails does not use sentence case for form buttons. For example, instead of an "Update user" button, it generates an "Update User" button. The button names come from the ActionView locale file. Is there a way to create a default that downcases the model name? This is not covered in the Ruby on Rails Guides i18n section on Interpolation so maybe it is not possible. The following doesn't work: en: helpers: submit: update: