add logic for selecting properties by locale or falling back to default locale