Hi i have 4 languages in my typo. Here is my main configuration for them:
#LANGS
config.linkVars=L
config.defaultGetVars.L = 0
config.sys_language_overlay = hideNonTranslated
[globalVar = GP:L = 3]
config.sys_language_uid = 3
config.language = en
config.locale_all = en_EN
config.htmlTag_langKey = en
plugin.tx_indexedsearch._DEFAULT_PI_VARS.lang = 3
[globalVar = GP:L = 2]
config.sys_language_uid = 2
config.language = ro
config.locale_all = ro_RO
config.htmlTag_langKey = ro
plugin.tx_indexedsearch._DEFAULT_PI_VARS.lang = 2
[globalVar = GP:L = 1]
config.sys_language_uid = 1
config.language = de
config.locale_all = de_DE
config.htmlTag_langKey = de
plugin.tx_indexedsearch._DEFAULT_PI_VARS.lang = 1
[global]
All works fine. Im using templavoila and realurl.
In one of templates/modules/flexible content i have typoscript displays field only when its not empty:
10 = TEXT
10.field = field_test
10.wrap = info: |
10.if.isTrue.field = field_test
Now i'd like to display this field in diferent versions:
like:
10.wrap = informationen |
for DE language etc.
How may i check here what current language is?