This module doesn't work for cached pages for anonymous users. Is there a reason why this is the case?
I would like to have the cache key (in function fallback_language_negotiation_language_negotiation_info on line 27) removed, so it works again in the above mentioned case.

Comments

rodrigoaguilera’s picture

I've reproduced this bug and I can confirm it but removing line 27 about cache doesn't help either, falls back to default language

mr.york’s picture

The patch fixed this problem.

mr.york’s picture

Status: Active » Needs review
usta’s picture

I can confirm the patch to be working. With it it is possible to activate the cache for anonymous users and fall back to a custom language, without it either caching works, or the fallback.

gunwald’s picture

Patch seems to work. Thanks.

mr.york’s picture

StatusFileSize
new691 bytes

The last patch working only set page cache, but not working disable page cache.
This patch works all situations.