Zum Hauptinhalt gehen

How to make English as fallback condition for footer?

Kommentare

1 Kommentar

  • Zendesk API User
    Author: rednoss - 3/3/2014 10:36

    Hello Siva,

    for this use-case you need the language you want to display (e.g. french) and the current page. With the method isTranslated(Language language) [see de.espirit.firstspirit.access.store.pagestore.Page] you can prove if your site is in the given language translated. If not you can set english as default page. Alternatively you can hide the language-link in your footer.

    To get your languages use: #global.project.languages and iterate over the list

    To get your current page use: #global.node.getPage

    Best regards

    Rene

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.