I only say "on your left" when coming up on people that are blocking my way (taking the whole path, dog on leash, walking on the wrong side, etc) and say it loud enough and far enough back that it usually gets their attention. I make sure I give myself plenty of time to react to whatever move they end up making.