Set locale based on browser preference.