[TYPO3-english] Do not understand RealURL translation
Xavier Perseguers
typo3 at perseguers.ch
Sat Feb 14 23:38:08 CET 2009
Hi,
I have a menu with 4 languages: German, English, French and Italian. The
configuration of the menu is done with
special.value = 1,4,0,3
French has thus sys_language_uid = 0, German 1, English 4 and Italian 3.
If I deactivate RealURL and I navigate to my homepage without any L=
parameter, I get French content, when showing another language, the link
to the French content uses L=0.
Now, when I activate RealURL, my website root shows French content and
sys_language_uid = 0. But when I go to another language, the link back
to French points to /fr.html and when I go to this page,
sys_language_uid = 2 instead of 0.
2 is btw French too in my configuration but should not be used in this
context.
My RealURL conf reads:
array(
'GETvar' => 'L',
'valueMap' => array(
'de' => '1',
'fr' => '2',
'it' => '3',
'en' => '4',
),
'valueDefault' => 'fr',
),
Is the mapping 'fr' => '2' the cause of this behaviour? I would have
thought that special.value would be used.
Using sys_language_uid = 2 instead of 0 leads to using a page overlay
that does not exist, as such it falls back to default language, French
and the content is in French as I want. However there is no "current"
language and French is not "active" in language menu.
Any idea of what to change?
--
Xavier Perseguers
http://xavier.perseguers.ch/en
One contribution a day keeps the fork away
More information about the TYPO3-english
mailing list