This project is archived and is in readonly mode.

#2956 ✓invalid
Alistair Holt

Error message I18n interpolation

Reported by Alistair Holt | July 25th, 2009 @ 04:11 PM | in 2.x

From looking through the docs and source it seems that Rails is supposed to support interpolation of the translated model name, translated attribute name and the value.

"This is a custom blank message for {{model}}: {{attribute}}" should work but only {{model}} is working at the moment. Try to use {{attribute}} or {{value}} and a I18n::MissingInterpolationArgument exception gets raised with a message along the lines of "interpolation argument attribute missing.."

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

Pages