Answers for "typoscript condition lnaguage"

0

typoscript condition lnaguage

#checking language using languageid
[siteLanguage("languageId") == 1]
your code
[GLOBAL]

#checking language using locale
[siteLanguage("locale") == "en_US.UTF-8"]
your code
[GLOBAL]

#checking language using hreflang
[siteLanguage("hreflang") == "en-US"]
your code
[GLOBAL]
Posted by: Guest on September-07-2021

Browse Popular Code Answers by Language