Darwin's Theories Blog

New Theories for a New Time

What's wrong with the web, Part 45; Demanding Redundant Language Choice

2008-08-21
Canada, a land of two official languages and two hundred non-official
Today's rant won't be politically correct. Not that you care, dear readers.

A problem with the Web in Canada is that most corporate and government sites force you to pick a language. Why is that a problem? Because you've already picked a language. If you're in Canada, odds are statistically likely that when you installed your operating system - be it MS-Windows, Mac OS, Solaris, Linux, OpenBSD or whatever - you selected English or French as your language choice. And these "choose a language" sites don't respect that choice.

You see, every time you click on a link or type in the name of a site and hit Enter, your browser sends a whole boatload of information, including the ISO language code for your chosen language (or languages) to the web server.

My browser sends something like this:
GET / HTTP/1.1
Host: localhost:8080
User-Agent: Mozilla/5.0 (X11; U; OpenBSD amd64; en-US; rv:1.9.0.1) Gecko/2008072820 Firefox/3.0.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en,es;q=0.8,fr;q=0.5,de;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
This is a standard "HTTP GET" request: the first line begins with GET, POST or another verb, then there are an arbitrary number of header lines.

In this example, line 5 lists the acceptable languages I have specified: English, Spanish, French and German. In a form that is well documented as part of the specification for the HTTP protocol.

So what are the sites that ignore your choice afraid of? The possibility that a Quebecois might actually see a few words  of English at a web kiosk, and be insulted? Or, the much-worse possibility that an Anglophone might see a few words of French at a web kiosk, and not understand that it's a web kiosk because it's not in English? :-)

This tradition also doesn't respect the languages of the two hundred odd other ethnicities that our curiously- multicultural society has spawned. Nor does it respect the linguistic traditions of the Native Peoples who were here for thousands of years before the web arrived...

So what to do? Tear down all the officious two-language-only home pages on government and corporation sites around the country. Let the site start in whatever language they please, unless the web standard HTTP header for language choice is present, in which case, use that language if you understand it, only falling back to one of the two "official" languages if none of the requested languages is understood.