Project

General

Profile

Actions

Bug #14572

closed

Indexed external files have always sys_language_id=0

Added by old_GertThiel almost 20 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
Indexed Search
Target version:
-
Start date:
2005-02-23
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

My site is bi-lingual -- Swiss German (default) and English (secondary). And hence has two search pages.

Searching content in the default language yield all results as expected. Searching content in the secondary language delivers no results in external files.

While analysing the table index_phash I learned that rows representing external files always have sys_language_id=0.

###
  1. MULTILINGUAL CONTENT SUPPORT #
    config.linkVars = L
    config.sys_language_mode = content_fallback ; 1,0
  1. Setup the Default Language: German (Schwitzerland)
    config.sys_language_uid = 0
    plugin.tx_indexedsearch._DEFAULT_PI_VARS.lang = 0
    config.language = de
    config.locale_all = de_CH
    config.htmlTag_langKey = de_CH
    config.htmlTag_setParams = xmlns="http://www.w3.org/1999/xhtml"
    xml:lang="de_CH" lang="de_CH"
  1. This Sets Up English
    [globalVar = GP:L = 1]
    config.sys_language_uid = 1
    plugin.tx_indexedsearch._DEFAULT_PI_VARS.lang = 1
    config.language = en
    config.locale_all = en_US
    config.htmlTag_langKey = en
    xml:lang="en" lang="en"
    [global]
    (issue imported from #M835)

Files

0000835-class.indexer.php.diff (1.3 KB) 0000835-class.indexer.php.diff Administrator Admin, 2005-02-27 13:02

Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #19573: external documents linked to pages in another language than default are only found when searched in default languageClosedDmitry Dulepov2008-11-05

Actions
Actions

Also available in: Atom PDF