locale should be set before set setting