[TYPO3-english] Do not understand RealURL translation
Xavier Perseguers
typo3 at perseguers.ch
Sun Feb 15 14:20:52 CET 2009
Hi!
>> Trying to speaking aloud...
>>
>>> My RealURL conf reads:
>>>
>>> array(
>>> 'GETvar' => 'L',
>>> 'valueMap' => array(
>>> 'de' => '1',
>>> 'fr' => '2',
>>> 'it' => '3',
>>> 'en' => '4',
>>> ),
>>> 'valueDefault' => 'fr',
>>> ),
>> Indeed (and that's the way it should work btw), the mapping of 'fr' is
>> taken when generating links, leading to use '2' instead of default '0'.
>> This means that I should dynamically remove the fr mapping when French
>> is my default language.
>
> Hmm, what did you expect? :) You told realurl to set L=2 when there /fr/ segment. Realurl did what you asked. All correct.
What I did expect? Euh... I guess to think ahead of me and understand
that when setting valueDefault it should unmap my 'fr' except when I
used mount points... :-)
--
Xavier Perseguers
http://xavier.perseguers.ch/en
One contribution a day keeps the fork away
More information about the TYPO3-english
mailing list