I am maintaining a Japanese and English site.
I was able to view my site in English and Japanese by clicking the language switch or putting /ja or /en at the URL .
After upgrading the automated logout to 6.x-2.3, I can only view Japanese version with a Japanese browser
(and the English version with an English browser), no matter I click the language switch button (Actually, the URL has changed
to example.com/ja or example.com/en after I clicked the button) the language will not change.
If a user login with Japanese as his default language, he can only view the Japanese version (no matter what language the browser is.
In the same way, if a user login with English as his default language, he can only view the English even in a Japanese browser.
I have unchecked the module (without changing other settings), and the site works fine again. I tried to uninstall it and install the 6.x-2.2 version,
it works fine with 6.x-2.2 too.
Comments
Comment #1
jvandervort commentedPlease give the 6.x-2.x-dev snapshot from Jan 19 a try.
Comment #2
andrewpao commentedYes, it works. Thank you very much!!
Comment #3
finex commented@jvandervort: I've the same problem without using Automated Logout module. Which fix has been applied to this module? Maybe the same problem could be on other modules too.
Comment #4
jvandervort commentedMaybe, in autologout we had a drupal_init_language() call in our hook_boot. This apparently messed up the normal locale module
setup. Doing too much in hook_boot is really dicey, and can cause problems with other modules.
Comment #5
jvandervort commented