I've added a gettext.c file, and 5 lines to context_loop.
context_loop() scans now for the Accept-Language Header too, and if detected calls
httplang_to_locale() which tries to detect the locale, and if it has a matching locale, set it apropriately.
Though there are some things not yet ok for me,
* !HELP! There seems to be a race condition about the malloc() i've used. is this wrong in that place? what else has to be done?
(it appears only if another box requests the webcit page, not if you request it via loopback)
* the available locales are not built from the files under po/; but a list in gettext.c
* the weights aren't looked at at all.
* I think there should be an en_US locale, that just consists of just the same strings as the c-files
* shouldn't date and time settings (am,pm/0-24h) be picked there from too? (allso as the number formats?)
