implemented locale order and log http negotiator