Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Specific translations for labels with values

#6753

Suppose I want my radio buttons' labels translated:

= f.radio_button(:customer_access_enabled, true)
= f.label(:customer_access_enabled, :value => true)
= f.radio_button(:customer_access_enabled, false)
= f.label(:customer_access_enabled, :value => false)

Both labels get the same value from "helpers.label.#{model_name}.#{attribute_name}" (in my case, "helpers.label.page.customer_access_enabled"). I would like to have specific translations for each value of the same attribute.

Reported by Jason Garber · April 27th, 2011 @ 10:24 PM

State: new
Milestone: none
Assigned to: nobody
Importance: none