多语言环境下,可以通过下面的方式解决URL中语言不一致的问题。
‘reference’ => array(
array(
‘GETvar’ => ‘tx_kchreference_pi1[reference]‘,
‘lookUpTable’ => array(
‘table’ => ‘tx_kchreference_main’,
‘id_field’ => ‘uid’,
‘alias_field’ => ‘title’,
‘addWhereClause’ => ‘ AND NOT deleted’,
‘useUniqueCache’ => 1,
‘languageGetVar’ => ‘L’,
‘languageExceptionUids’ => ”,
‘languageField’ => ‘sys_language_uid’,
‘transOrigPointerField’ => ‘l10n_parent’,
‘useUniqueCache_conf’ => array(
‘strtolower’ => 1,
‘spaceCharacter’ => ‘-’,
),
),
),
)