Issue Bug Closed

#16077Yet another language bug

Nick Weisser 04/21/06, 14:58 updated 09/02/13, 09:22

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

  1. 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]
  1. 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]
  1. 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.