Opened 16 years ago

Closed 16 years ago

#515 closed Defect (fixed)

Language localization based on browser settings

Reported by: gravitysmith Owned by: davea
Priority: Minor Milestone: Undetermined
Component: Web - Localization Version:
Keywords: Cc:

Description

Account pages do not honor browser based language preferences. My browser (Opera 9.24) has English set as primary language with Spanish secondary. The HTTP headers sent by my browser show:

Accept-Language: en,es;q=0.9

According to section 14.4 of the HTTP protocol (http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html), the above header should be translated as "I prefer English but will accept Spanish". Every BOINC site I visit shows much of the site in Spanish, in contradiction to the preferences set by my browser.

Furthermore, even after visiting the language_select.php page on a BOINC site and explicitly choosing (en) English, I often still receive part of the information in Spanish.

Change History (5)

comment:1 Changed 16 years ago by Nicolas

There was a bug recently that caused a lot of the English text to stop working. It was fixed now, but I don't know what projects have the buggy version(s).

What projects did you notice this problem on?

comment:2 Changed 16 years ago by gravitysmith

Out of the 10 or so projects I am signed up for, only Einstein@Home and Cosmoology@Home show the problem right now. The entire "Your account page" on Cosmology is in Spanish while on Einstein only parts are in Spanish. In particular, the heading: "private messages" on the "Your Account" page is in English, but the part that says I have no messages is in Spanish. The cookie for Einstein and Cosmology even show a "lang: en" setting. Changing to browser based language (cookie to "lang: auto") does not change anything, so this sounds like the bug you mention.

I could have swore they all had Spanish last night. Maybe I should have gone to bed a little earlier and not stayed up so late ... If the Spanish returns, I'll be sure to get a good night sleep before reporting again.

Thank you Nicholas for looking into this!

comment:3 Changed 16 years ago by gravitysmith

Update: The BOINC message boards also show a strange mix of Spanish and English at the present time.

comment:4 Changed 16 years ago by gravitysmith

Update 2: Going through the list at Boincstats, the following sites appear to be completely in Spanish like Cosmology@Home is:

Enigma@Home QMC@Home

The sites that are partially in Spanish (like Einstein@Home) only show Spanish for the private message notification. This means there could be other sites with this problem, but I can't check without an account.

Also, I just went back to the BOINC message boards and now they are completely in English! Unless an update to the server code was made since my last post, this appears to be an intermittent problem. I will make screen captures next time.

gravitysmith

comment:5 Changed 16 years ago by davea

Resolution: fixed
Status: newclosed

I believe this is fixed in the BOINC source code; those projects need to upgrade.

Note: See TracTickets for help on using tickets.