locale properties alerts not working