I forgot to mention this very useful link http://iain.nl/2008/09/translating-activerecord/
On Sep 17, 2:24 pm, "Iain Hecker" <[EMAIL PROTECTED]> wrote: > The problem Piotr ran into was that he wasn't using an instance of AR > in form_for. > > Wrong way is: form_for(:user) do |form| > Right way is: form_for(@user) do |form| > > Were you using this as well? > > It works just fine with me... > > Iain > > On Wed, Sep 17, 2008 at 14:19, pierre <[EMAIL PROTECTED]> wrote: > > > I installed the plugin and add : > > fr-FR: > > active_record: > > attributes: > > user: > > first_name: Prénom > > last_name: Nom > > birthday: Anniversaire > > country: Pays > > > And then <%= f.label :first_name %> display : First name > > > Has anyone managed to get this plugin working ? > > > Thanks > > Pierre > > > On Sep 16, 9:29 pm, "Yaroslav Markin" <[EMAIL PROTECTED]> > > wrote: > >> There's a plugin that didn't make Rails core > >> yet:http://github.com/iain/i18n_label/ > > >> 2008/9/16 Piotr Hlawski <[EMAIL PROTECTED]> > > >> > I have an translation of my activerecord attributes and i suppose that > >> > label method should work with it, but it didn't, i.e.: > > >> -- > >> Yaroslav Markin > >> evilmartians.com | rubyonrails.ru --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "rails-i18n" 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/rails-i18n?hl=en -~----------~----~----~----~------~----~------~--~---
