Set locale based on browser language