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:

  • I have all the multilingual modules (+ Variable, Variable Realm, Variable Store) enabled, except for Contact translation and Multilingual forum
  • The variable Default front page is checked
  • FIlled out all the proper links to the translated nodes in Site information, the regular way and also by this method to make sure
  • Detection and selection: URL (path prefix) & Browser
  • I have Language switcher dropdown enabled. I disabled it to see if it could be related to this issue, but nothing changed (after the cache being cleared).

Is there anything I overlooked?

Comments

herr lehmann’s picture

Are 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

knalstaaf’s picture

I 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

knalstaaf’s picture

Status: Active » Closed (duplicate)
fabioloool’s picture

My workaround.... Use Boost Module instead of drupal core cache... solved form me and website is faster...

fabioloool’s picture

Issue summary: View changes

LSD