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

    Like usual i used Babel to make multi language website.
    But from the version 3 (I think) the snippet BabelLinks return nothing.
    I've tried to found a post with this problem without success.

    My call:
    [[!BabelLinks? &showCurrent=`1`]]


    Thanks in advance.
      • 33238
      • 388 Posts
      Have you solved it?

      I tryed everything and there is not way to make it works.... sad

      tryed: [[!BabelLinks? &showCurrent=`1` &includeUnlinked=`1`]] and cached but nothing...
        --
        ysanmiguel.com
        • 28432
        • 372 Posts
        No! Same for me! Can't make it work...
        And it work on other installations...
          • 33238
          • 388 Posts
          I got Revo 2.5.0pl and Babel 3.0.0-rc1
          What is yours?
            --
            ysanmiguel.com
            • 28432
            • 372 Posts
            I got MODX Revolution 2.4.3-pl (advanced) and Babel 3.0.0-beta4
              • 33238
              • 388 Posts
              and have you tried this one? [[!BabelLinks? &showCurrent=`1` &includeUnlinked=`1`]]
                --
                ysanmiguel.com
                • 28432
                • 372 Posts
                Yes! Thank you for suggestion!
                  • 33238
                  • 388 Posts
                  I even try to create a different tpl but nothing works, looks like the BabelLinks snippet is not working at all.
                  it only display something if the &toArray option is included.

                  the snippet [[BabelTranslation is working well, I was trying to make the switch using that one:

                  [[++cultureKey:is=`es`:then=`<a href="[[~[[BabelTranslation? &contextKey=`en`]]]]">EN</a>`]]
                  


                  works well on one direction, to come back to the main context web the address doesn't work.
                    --
                    ysanmiguel.com
                    • 28432
                    • 372 Posts
                    I just make it manually

                    <li><a href="http://www.exemple-website.com/" class="bigt"><span class="flag flag-fr"></span> fr</a></li>
                    <li><a href="http://www.exemple-website.com/en/" class="bigt"><span class="flag flag-en"></span> en</a></li>


                    I know that's not really a solution...
                      • 33238
                      • 388 Posts
                      Good, let's see if some one helps us to solve this problem.

                      I'm going to do the same thing for now tongue

                      Thanks mate.
                        --
                        ysanmiguel.com