Are you using Rails 2.2 or 2.3? In these versions, you could use the
I18n library (editing the .yml on the config/locales directory):

activerecord:
    attributes:
      <model_name>:
        <field>: <translated_name>


On Oct 16, 6:31 pm, Pål Bergström <[email protected]>
wrote:
> Marnen Laibow-Koser wrote:
> > Pål Bergström wrote:
> > [...]
> >> The column name in the db is 'email'. I would like that to be displayed
> >> in Swedish like 'E-post'.
>
> > And what's your view file like?
>
> > Best,
> > --
> > Marnen Laibow-Koser
> >http://www.marnen.org
> > [email protected]
>
> I mean in an error_messages_for. Sorry.
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to