# First print this in the HTML HEAD
page.headerData {
10 = COA
10 {
wrap =
# APP.language
10 = TEXT
10 {
data = TSFE:sys_language_uid
stdWrap.wrap = APP.language = '|';
stdWrap.required = 1
}
}
}
# ... so in base.js we can use APP.language
page.includeJS {
base = fileadmin/web/scripts/base.js
}