Hi fmh,

if by model attributes you mean column headings, you need to set
labels explicitely.

ie: columns[:first_name].label = "my string"

Then AS will complain it has no translation for "my string" and you
can enter a translation in the yaml localisation file.

Best Regards,
Simon

On Feb 13, 11:21 pm, fmh <[email protected]> wrote:
> there is someone to help?
>
> On 13 fév, 10:23, fmh <[email protected]> wrote:
>
> > hello,
>
> > how to translate the model's attributes. it work with i18n but not
> > with AS.?
>
> > I can translate a label but i dont think if it's the better solution.
>
> > i use yaml file.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en
-~----------~----~----~----~------~----~------~--~---

  • tr... fmh
    • ... fmh
      • ... fmh
        • ... delirious
          • ... Sergio Cambra .:: entreCables - Symbol Servicios Informáticos S.L. ::.
            • ... Helmi Fatnassi
            • ... delirious
              • ... Sergio Cambra .:: entreCables - Symbol Servicios Informáticos S.L. ::.
    • ... fmh
    • ... fmh
    • ... fmh

Reply via email to