Hey John, thanks for the hint. At a first sight this seems to work pretty good.
Thanks!! rainer On Thu, Aug 6, 2009 at 10:15 PM, john muhl<[email protected]> wrote: > could you just ask your snippet to give the right urls? > > <r:if_url matches='^/de'> > <r:navigation urls="home: /de/home | ueberuns: /de/ueber_uns/ | > kontakt: /de/kontakt/"> > </r:if_url> > <r:if_url matches='^/en'> > <r:navigation urls="home: /en/home | aboutus: /en/about_us/ | contact: > /en/contact/"> > </r:if_url> > > still some duplication but much less and duplicating layouts > > On Thu, Aug 6, 2009 at 2:06 PM, exitseven<[email protected]> wrote: >> Hey again, >> >> sorry, I'm still looking around for a solution. I stumbled over an old >> post of someone having the same problem >> (http://www.ruby-forum.com/topic/133019). He writes exactly about what >> I need. But besides I am unable to install the Language Redirect >> extension, it is not exactly what I need. >> >> I have to page trees: >> >> 1) /de/page >> 2) /en/page >> >> The /de-tree is working fine. The user should now be able to hit a >> link "English version" on the site and should then get to the >> /en-tree-contents. >> >> So far not a problem. The user gets to for example /en/home. But from >> now on he should only get contents from the /en-tree: >> >> /en/home/ >> /en/about_us >> /en/contact >> /en/... >> >> I use a snippet to render the menu: >> <r:navigation urls="home: /de/home | ueberuns: /de/ueber_uns/ | >> kontakt: /de/kontakt/"> >> >> Do I have to double every layout I have into an /en- and an >> /de-version? I thought there is propably some extension that >> automatically routes every /de-request to the /en-tree if the user >> requested the english version of the site one time by clicking the >> "English version" link. >> >> Hopefully you understand the problem and there is an answer somewhere >> outside... >> >> Best wishes, >> rainer >> _______________________________________________ >> Radiant mailing list >> Post: [email protected] >> Search: http://radiantcms.org/mailing-list/search/ >> Site: http://lists.radiantcms.org/mailman/listinfo/radiant >> > _______________________________________________ > Radiant mailing list > Post: [email protected] > Search: http://radiantcms.org/mailing-list/search/ > Site: http://lists.radiantcms.org/mailman/listinfo/radiant > _______________________________________________ Radiant mailing list Post: [email protected] Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
