We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36931
    • 206 Posts
    Dear,
    I am working on Babel and babel.link

    On my template I pplaced this:
    [[BabelLinks? &showUnpublished=`0` &tpl=`LanguageFlags`]]


    and my LanguageFlags is as the following
    <li>
    [[!ifEval? 
      &input=`[[+active]] == [[+active:notempty=` [[+active]]`]]` 
      &contentTrue=`[[%babel.language_[[+cultureKey]]? &topic=`default` &namespace=`babel`]]` 
      &contentFalse=`<a href="[[+url]]" class="[[+cultureKey]][[+active:notempty=` [[+active]]`]]">[[%babel.language_[[+cultureKey]]? &topic=`default` &namespace=`babel`]]</a>` ]]
    </li>


    It works fine, but I need to have a "|" between the language as this
    Francais | english | italianao

    But I do not know how avoird having one at the begining and one at the end.

    Some one has an idea to help?

    By the way, what is the difference between
    [[!BabelLinks]] 
    and
    [[BabelLinks]]
    (wthout the !)

    many thank for your help