[TYPO3-english] Do not understand RealURL translation
Dmitry Dulepov
dmitry at typo3.org
Sun Feb 15 14:13:16 CET 2009
Hi!
Xavier Perseguers wrote:
> 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.
--
Dmitry Dulepov
TYPO3 core team
"Sometimes they go bad. No one knows why" (Cameron, TSCC, "Dungeons&Dragons")
More information about the TYPO3-english
mailing list