take account of Accept-Language header for language detection