[TYPO3-english] Problem with sr_language_menu and realurl on multilingual website

Björn Wendeler bjorn.wendeler at burnabit.com
Tue Aug 3 09:16:19 CEST 2010


Hey Bjoern,

many many thanks, this finally helped! Problem solved.

Cheers from Cologne, Germany,

/bjorn

PS: Sorry for the late reply, I have been quite busy yesterday.

--
Björn Wendeler :: Geschäftsführer

burnabit gmbh :: lahnstrasse 13 :: 51105 cologne :: de
telefon +49 221 492 37 48 :: telefax +49 221 16 90 19 47
GF: Björn Wendeler :: HRB 63600 :: Amtsgericht Köln
VAT-ID: DE260790068 :: http://www.burnabit.com



> Am 30.07.2010 10:49, schrieb Bjoern Pedersen:
>> Am 30.07.2010 09:23, schrieb Bjoern Pedersen:
>>> Am 29.07.2010 20:20, schrieb Björn Wendeler:
>>>> Hola Dave,
>>>> 
>>>> 
>>>> it's kind of strange. Honestly, it is getting "better," but still not
>>>> working 100% correct.
>>>> 
>>>> Please see:
>>>> http://www.rotorflug.com/en/contact/
>>>> vs.
>>>> http://www.rotorflug.com/de/contact/
>>>> ...which should be http://www.rotorflug.com/de/kontakt/
>>>> 
>>> 
>>> I just did a test during an realurl upgrade. In the pre-1.8  version the
>>> path comes out correctly, the following versions show this behaviour. So
>>> it seems to be a realurl bug.
>>> 
>>> Björn
>> 
>> looking at the devlog:
>>  30.07.2010 10:46:42 by realurl: [TFKRcKwZAVIAAS at URaUAAAAF] Entering
>> encodeSpURL for index.php?id=39&L=1
>>  ===> english version, correct
>> 30.07.2010 10:46:42 by realurl: [TFKRcKwZAVIAAS at URaUAAAAF] Starting URL
>> encode
>> 30.07.2010 10:46:42 by realurl: [TFKRcKwZAVIAAS at URaUAAAAF] Entering
>> encodeSpURL for index.php?id=39&cHash=c6aa9cfda5199292780527056eec183b
>> ===> german version from cHashCache but cHash is for englisgh version
>> 30.07.2010 10:46:42 by realurl: [TFKRcKwZAVIAAS at URaUAAAAF] Starting URL
>> encode
>> 30.07.2010 10:46:42 by realurl: [TFKRcKwZAVIAAS at URaUAAAAF] Entering
>> encodeSpURL for index.php?id=39&L=1&cHash=c6aa9cfda5199292780527056eec183b
>> 
>> ==> english version , OK
> 
> a quick fix:
> 
> around line 418 in  class.tx_srlanguagemenu_pi1.php:
> comment this out, it removes the L-parameter if not using
> rlmp_language:detection:
> 
> /* if (!$this->rlmp_language_detectionLoaded) {
> $GLOBALS['TSFE']->linkVars = preg_replace('/&L=0/' , '',
> $GLOBALS['TSFE']->linkVars);
> }*/
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english




More information about the TYPO3-english mailing list