We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 5570
    • 13 Posts
    Hi there,

    I’ve got my website split up in 3 different languages, dutch, german and english. How I can use Wayfinder in such a way that for instance in the german section I only get to see the german pages. Or... do I have to install a different modx database for each language?

    Is there besides a ’startid’ also an ’endid’ or something like that?

    German section -> startid = 8 and endid = 15

    The ModX Wiki says:

    "Wayfinder is a snippet that scans a ’specified portion’ of the MODx document tree". How do I specify a portion?

    thanks.
      • 4310
      • 2,310 Posts
      I think most people with multi lingual sites have their pages set up something like this :

      English (1)
      - home (12)
      - about (31)
      - contact (14)

      Dutch (3)
      -home (5)
      -about(9)
      -contact(18)

      German(6)
      -home(10)
      -about(11)
      -contact(12)

      Probably best to have a TV to put the menu call in and set it’s default value to ’@INHERIT’
      Then for each parent doc overwrite the default value with a Wayfinder call with the ’&startId’ set to the parent.
      That way each menu shows the children of the parent language.
      There are several other ways you could do it
        • 5570
        • 13 Posts
        Thanks! That did it.
          • 4310
          • 2,310 Posts
          Glad it worked for you.
            • 9130
            • 171 Posts
            Maybe I’m a little late but I think most people do something like this:
            [!Wayfinder? &startId=`[[UltimateParent]]`!]
            

            Its a bit easier...