Set locale according to the Accept-Language header