#2 May 28, 2009 23:00
I'm about to roll this back, since it makes no sense and it probably intended like it is, e.g. the locale being activated from HTTP_ACCEPT header.
Please activate $debug and put the output of the "locale" section, without your patch applied, of course.
Anyway, the locale handling is centralized in main.inc and should stay that way.
If HTTP_ACCEPT should not get used, that's another issue.