On Oct 3, 2010, at 8:35 AM, Scorpio wrote:

> Hi, I've mentioned this in another topic but it was slightly off-topic
> and not the full description because I didn't know all at the time so
> here goes:
> 
> I'm using hobo with rails 2.3.5 and everything worked great before i
> got to l18n. I'm having an issure that with the hobo translation file
> one has something like
> 
> pl:
>   hobo:
>       page:
>           forgot_password:
> 
> I think my problem is with the 2.3 lazy lookup for l18n. I believe it
> messes with named scopes of ht keys... example
> for the forgot_password: page and the email form the key that hobo is
> looking for is hobo.forgot.password.email and the hobo translation has
> it under hobo.page.forgot_password.email.
> 

I'm not 100% sure what's going on, but the source is pretty clear on what it's 
requesting:

http://github.com/tablatom/hobo/blob/1-0-stable/hobo/taglibs/rapid_user_pages.dryml#L76

The correct key lives at hobo.forgot_password.email as you've noted.

> I've tried to remedy this myself for days. My search for the keys to
> edit them by hand turned up nothing and my attempt to edit the
> translation file to remove the "page:" element in some way created a
> syntax error.

Note that DRYML is particularly fussy about spacing - extra spaces at the start 
of a line and/or tab characters can cause some pretty bizarre error messages.

BTW, not sure what TZ you're in, but if you're still having problems I'll be on 
Google Talk (with this email) for the next 8+ hours - hit me up if you need a 
quick response.

Hope this helps...

--Matt Jones

-- 
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.

Reply via email to