📜  印刷条件语言 - 任何代码示例

📅  最后修改于: 2022-03-11 14:58:53.253000             🧑  作者: Mango

代码示例1
#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]