GNOME Bugzilla – Bug 528913
Switching languages in libgo
Last modified: 2009-07-16 11:40:56 UTC
(I am using ff3, I don't know if it really matters) Steps to reproduce the bug: 1. http://library.gnome.org/devel/guides (for example) 2. switch to french 3. go to http://library.gnome.org/devel/platform-overview/stable/ 4. go back 5. switch to english 6. go to http://library.gnome.org/devel/platform-overview/stable/ -> the page is still in french. Doing a "refresh" of the page solves it. But is it really something that cannot be fixed (note: I don't know anything about cookies, page & cache issues)
The problem is there is no Vary: cookie header sent along the files, the served header is Vary: negotiate,accept-language. But there is this line in the apache configuration: SetEnvIf Cookie "language=(.+)" prefer-language=$1 Header append Vary cookie which should cause the cookie value to be appended, as step 5 would not remove the cookie but set it to "en". However it could be worth testing with a global "Header append Vary cookie" as the absence of a cookie has to be considered. Olav, what do you think about this?
Hello sysadmins, this is about adding "Header append Vary cookie" to library.gnome.org httpd configuration.
It works now for two-letter codes, but not for longer codes like pt_BR or zh_CN. Should I open another report for this?