We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 18474
    • 5 Posts
    Hello. Kinda new to modX, but love it alot so far.

    My problem is this; I have a multilingual site (two languages). I have a productcategory with several productpages, and I want to display these "children" in a separate menu that is visible on all pages. It also has to change when the user changes language, so that it points to the productpage with the correct language. Probably could have expressed myself alot clearer, but Ill try to clear things up with an illustration.

    My strucure looks like this:

    - firstpage (redirects to default lang)
    - norwegian (lang 1)
    - frontpage
    - contact
    - products
    - product 1
    - product 2
    - product 3
    - english (lang 2)
    - frontpage
    - contact
    - products
    - product 1
    - product 2
    - product 3


    When the user is within the "norwegian"-folder/part of the site, I wish to display a menu that outputs links to the three norwegian productpages, and the same for the english part of the website. Is there some nice trick in Wayfinder to make this happen?

    Thanks in advance!

      • 7253
      • 97 Posts
      There’s an article on the MODx Wiki which covers this:

      http://wiki.modxcms.com/index.php/Make_Multi_Lingual_Site

      Essentially, the key is to use UtlimateParent in your wayfinder call, but see the wiki article for all the details.