#16077Yet another language bug
Description
Shouldn’t this property be set automatically according to the language TS settings: plugin.tx_indexedsearch._DEFAULT_PI_VARS.lang
Currently I need to do this here to set the hidden field
<input type="hidden" name="tx_indexedsearch[lang]" value="0">
to the desired value.
Here is an example setup
config.sys_language_uid=0
config.language = en
config.locale_all = english
plugin.tx_indexedsearch._DEFAULT_PI_VARS.lang = 0
- English language, sys_language.uid = 1
[globalVar = GP:L=1]
config.sys_language_uid = 1
config.language = de
config.locale_all = de_CH
plugin.tx_indexedsearch._DEFAULT_PI_VARS.lang = 1
[end]
- French language, sys_language.uid = 2
[globalVar = GP:L=2]
config.sys_language_uid = 2
config.language = fr
config.locale_all = french
plugin.tx_indexedsearch._DEFAULT_PI_VARS.lang = 2
[end]
- Spanish language, sys_language.uid = 4
[globalVar = GP:L=4]
config.sys_language_uid = 4
config.language = es
config.locale_all = spanish
plugin.tx_indexedsearch._DEFAULT_PI_VARS.lang = 4
[end]
(issue imported from #M3314)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.