Set locale based on user settings