Closed (duplicate)
Project:
Internationalization
Version:
7.x-1.2
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
20 Aug 2012 at 10:40 UTC
Updated:
3 Jan 2013 at 14:44 UTC
For this website we're using language selction by the user's browser language (next to the path prefix).
But for some reason it would always pick the default language disregarding the browser's language settings (Firefox, Chrome, Safari - all latest versions).
I've enabled the the variable "Default front page" and made the proper modifications in the site information settings, to no avail. I came across this topic concerning a similar issue with a possible solution to it, but it doesn't work for me either.
Checklist:
Is there anything I overlooked?
Comments
Comment #1
herr lehmann commentedAre you using caching for anonymous users? If so there are several issues concerning your problem. Maybe these help: http://drupal.org/node/339958
http://drupal.org/node/1241236
http://drupal.org/node/1616274
Comment #2
knalstaaf commentedI unchecked Cache pages for anonymous users in
admin/config/development/performance.It solves the erroneous behaviour, but it demands a sacrifice on the page speed. We'll have to keep an eye on the first link, eventhough it still treats D6 to this day (not D7): #339958: Cached pages returned in wrong language when browser language used
Comment #3
knalstaaf commented#1241236: locale language from the browser not recognized
Comment #4
fabioloool commentedMy workaround.... Use Boost Module instead of drupal core cache... solved form me and website is faster...
Comment #4.0
fabioloool commentedLSD