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 All,

    I setted up Babel language and it work.
    There is a snipest call LanguageFlags and it's content is the following
    <li><a href="[[+url]]" class="langue_flag [[+cultureKey]] [[+active:notempty=` [[+active]]`]]">[[+cultureKey]]</a></li>
    


    It displays
    FR | EN
    and the link allow us to go to the translated page.

    My issue is the following. I have one page which has no translated page. Then I would like the snipest to display only
    EN
    (or nothing) because there is no french translation.

    Someone has an idea how to setup a ifEval condition
    [!ifEval? &input=`[[++cultureKey]]` // If trnalation exists
    	&contentTrue=`Display the language linns`
    	&contentFalse=`Display only the existing page or nothing`
    ]]
    


    Thank for your help
    Cheers