[TYPO3-english] rlmp_language_detection extension problem
Sergio Catalá Gil
scatala at iti.upv.es
Wed Mar 17 12:46:30 CET 2010
Hi list,
I installed 'rlmp_language_detection' extension some months ago and
everything worked ok. After changing some TS config, it didn't work (and
I don't know what sentence could influence it). An english browser
doesn't detect english as default :-(
My website languages are: spanish (as default) an english. I followed
all documentation on TYPO3 website.
My TS config about languages is:
page = PAGE
# Setting up localization:
page.config {
sys_language_mode = content_fallback
sys_language_overlay = hideNonTranslated
linkVars = L
language = es
locale_all = es_ES.UTF8
}
# Setting up language detection on browser
plugin.tx_rlmplanguagedetection_pi1 {
useOneTreeMethod = 1
defaultLang = es
limitToLanguages = es,en
}
# Setting up English language:
[globalVar = GP:L = 1]
page.config {
sys_language_uid = 1
language = en
locale_all = en_GB.UTF8
}
[end]
My localconf.php is:
[.....]
$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
'init' => array(
'enableCHashCache' => 1,
'respectSimulateStaticURLs' => 0,
'appendMissingSlash' => 'ifNotFile',
'enableUrlDecodeCache' => 1,
'enableUrlEncodeCache' => 1,
'rootPageID' => $RootPID[$_SERVER['HTTP_HOST']],
),
'redirects' => array(
),
'preVars' => array(
array(
'GETvar' => 'L',
'valueMap' => array(
'es' => '0',
'en' => '1',
),
'valueDefault' => 'es'
),
),
'pagePath' => array(
'type' => 'user',
'userFunc' =>
'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
'spaceCharacter' => '-',
'languageGetVar' => 'L',
'expireDays' => 0,
'rootpage_id' => $RootPID[$_SERVER['HTTP_HOST']],
),
[.....]
Any ideas what could be wrong? (Language selection works ok).
Sergio
More information about the TYPO3-english
mailing list