[TYPO3-english] rlmp_language_detection extension problem

Peter Russ peter.russ at 4many.net
Wed Mar 17 23:54:11 CET 2010


--- Original Nachricht ---
Absender:   Sergio Catalá Gil
Datum:       17.03.2010 12:46:
> 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']],
>    ),
> 
>   [.....]
> 
> 

Hi Sergio,

First you are mixing wording:
TS config is for setting up rules for pages and users and it's done in 
page TSconfig (default). And that is different from what you do using 
Typoscript to define Constants and Setup in templates!

Second: you have a copy of your setup before changes?
If you only changed Typoscript, why do you post your realurl setup?

Do you have any error in TSOB?
Which language is installed in the "english" browser: en oder us?

jm2c.

Peter.


-- 
docendo discimus

_____________________________
uon GbR
http://www.uon.li
http://www.xing.com/profile/Peter_Russ


More information about the TYPO3-english mailing list