Matt,
I tried that, but #{} does not get evaluated when it's in a .dryml page. It
generates:
<h2 param="heading">#{t :new} User</h2>
in pages.dryml, but the view just shows #{t :new} User
Anyway thanks for your reply.
On Fri, Oct 9, 2009 at 5:33 PM, Matt Jones <[email protected]> wrote:
>
> Due to the way DRYML is parsed, you're not allowed to put ERB brackets
> in attributes. Use #{ } instead, and it should work.
>
> --Matt Jones
>
> On Oct 9, 2009, at 11:17 AM, Gezin.us wrote:
>
> >
> > Translated the taglibs fine. But running into something now when I
> > modify the dryml generators. I want to generate the taglibs with a
> > translate call in them:
> >
> > <page merge title="New User">
> >
> > becomes
> >
> > <page merge title="<%= t :new %> User">
> >
> > Anyone an idea how to do this?
> >
> > Cheers, Geert.
> >
> >
> >
> > On Oct 9, 11:33 am, "Gezin.us" <[email protected]> wrote:
> >> Hi everyone,
> >>
> >> I am new to hobo. Hobo looks very promising to me, I'm using it for a
> >> small project i'm currently doing. It is a project for a dutch
> >> customer. The web app needs to be in dutch so I decided to add
> >> localization to Hobo. If anyone has useful tips, please let me
> >> know. I
> >> am currently translating everything I stumple upon in hobo, using the
> >> i18n rails support.
> >>
> >> Just to let you know.
> >>
> >> Thanks everyone for adding to hobo!
> > >
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo
Users" 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/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---