Isn’t that just flipping Set locale from accept language header ?
Set locale from accept language header