Closed pdietrich closed 13 years ago
I just noticed that I actually had <%= f.label I18n.t(:email) %> which obviously can't work. label doesnt use I18n at al up to now.
Sorry for the false alarm. Anyhow, the label method should be fixed.
yes, same problem here. its quite annoying for german speaking people. one way to get around it is <%=t :email %><
This issue is not relevant to the rails-i18n
repository.
Hi!
I have the following problem with I18n and the "label" form helper:
in my de.yml I have:
In my form I have
What happens is that the label method de-capitalizes the string returned by I18n so I get 'E-mail-adresse' in the output which unfortunately is wrong in German. It is easy to work around this by manually creating an html label tag with a <%= I18n.t 'activerecord.attributes.feedback.email' %> inside.
I think the label form helper should not touch the string returned by I18n.
Cheers, Patrick
PS: my Rails version is 2.3.4