This project is archived and is in readonly mode.

#1054 ✓duplicate
jana4u

small patch enabling automatic I18n translation of ActiveRecord::Base attribute names in labels

Reported by jana4u | September 15th, 2008 @ 10:38 PM | in 2.x

<%= f.label :title %> now produces "Title" ("title".humanize) - it doesn't reflect locale settings

it should use translation in case of ActiveRecord::Base attribute (if it's available)

patch added in comment or see http://github.com/jana4u/rails/c...

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Attachments

Pages