orchardcmscultureinfoorchardcms-1.6orchardcms-1.8

Orchard CulturePicker and CurrentCulturePicker


I'm using orchard 1.8.1 and Culture picker.

After removing the culture filter in module (Orchard has it on core by default and so it has to be removed to avoid conflicts) I made it working when I'm logged on.

However anonymous user cannot change language (or better it seems that the cookie is set correclty but the filter does not works or does not picks the language)

I digged for permission and read all code but it seems nothing wrong.

Any idea why culture picker works only when I'm logged as admin and does not works when I browse anonymous?

It is probably something with 1.8 upgrade

This is a site that works (1.6):

http://social-media-marketing-day.web-marketing-manager.it/cina-russia-corea-asia-corso-digital-strategia-comunicazione

This is the one that does not works (1.8):

http://radici-group.linked-in.it/nylon-uso-vantaggi

Thanks


Solution

  • I found a workaround.

    Since it is a caching problem I have added a fake lang parameter matching requested language to the requested url. This should not harm existing urls but adds something different to url itself so that it is cached separately...

    Any idea on how do it properly without change the url?