[TYPO3-commerce] multilang catmenu

Thibaut van de Mortel tibo at goutemesdisques.com
Wed Jan 2 05:31:15 CET 2008


Hello Ingo,
hello Bas,
hello list,
Happy new year !
I have tested the version of lib_navigation provided on Ingo's link.
On my installation, it partially works. The menu is now well translated, 
with one language at a time.

But it unfortunately switches back to another(*) language when I click 
on a link that doesn't have "&no_cache=1" in the url. So I haven't 
tried, but I guess that the lib perfectly works on a site with a global 
nocache = 1.
* I thought it switched back to default language or previously selected 
language, but I've seen both cases.

I also noticed a weird behaviour if I click several times on the same 
category link : the menu is then displayed once in the current selected 
language, once in one other language (always the same). It alternates 
exactly 1 time on 2... and this is what happens with the url of <a> tag :
• the "L" variable is correct and the same in both cases, only the title 
of links changes.
• the "cHash" variable is different

In my case I'm using a standard language menu, which doesn't add any 
"&no_cache=1" to the url. So when I change language, the catmenu isn't 
translated immediately, I have to see an un-cached version of the page 
to get the menu translated (for example by browsing some category pages).

The problem seems to be due to cache and/or cHash value.


Best wishes,
Regards,
Thibaut


More information about the TYPO3-project-commerce mailing list