translated menu don't link to the right locale

60 views
Skip to first unread message

spooknick

unread,
May 6, 2010, 4:18:28 PM5/6/10
to Croogo
hi
I'm trying to make a multilingual site. I've translated the menus, but
the links always link to the default language.
What I mean is that when I'm in a french page the menu is written in
french but will link to the english page.
I'm I missing something?

--
You received this message because you are subscribed to the Google Groups "Croogo" group.
To post to this group, send email to cro...@googlegroups.com.
To unsubscribe from this group, send email to croogo+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/croogo?hl=en.

Fahad Ibnay Heylaal

unread,
May 6, 2010, 10:20:19 PM5/6/10
to cro...@googlegroups.com
if you enter URLs for links in this format, it will work the expected way: controller:contacts/action:view/contact, instead of /contact

spooknick

unread,
May 7, 2010, 3:01:41 AM5/7/10
to Croogo
Thanks, I'll give it a try


On May 7, 4:20 am, Fahad Ibnay Heylaal <faha...@gmail.com> wrote:
> if you enter URLs for links in this format, it will work the expected way:
> controller:contacts/action:view/contact, instead of /contact
>
>
>
>
>
> On Fri, May 7, 2010 at 2:18 AM, spooknick <n.rog...@gmail.com> wrote:
> > hi
> > I'm trying to make a multilingual site. I've translated the menus, but
> > the links always link to the default language.
> > What I mean is that when I'm in a french page the menu is written in
> > french but will link to the english page.
> > I'm I missing something?
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Croogo" group.
> > To post to this group, send email to cro...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > croogo+un...@googlegroups.com<croogo%2Bunsu...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/croogo?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups "Croogo" group.
> To post to this group, send email to cro...@googlegroups.com.
> To unsubscribe from this group, send email to croogo+un...@googlegroups.com.
> For more options, visit this group athttp://groups.google.com/group/croogo?hl=en.

Dan

unread,
Jun 14, 2010, 6:32:33 AM6/14/10
to Croogo
Hello.
If I set the URLs like you said, the "selected" class which is used to
show
the current page is not set correctly.
What can I do to fix this?

Thank you

Dan

Fahad Ibnay Heylaal

unread,
Jun 14, 2010, 2:10:03 PM6/14/10
to cro...@googlegroups.com
submit a ticket on http://croogo.lighthouseapp.com

as far as it seems, LayoutHelper needs to be modified at line 337: http://github.com/croogo/croogo/blob/master/views/helpers/layout.php#L337

Reply all
Reply to author
Forward
0 new messages