Hallo susans,
the problem is: all those dogs are not socialized. Of course there are ways to stop this barking, it's a bit time consuming if the dog is more than 1 year old, but it's possible!
Try to understand the dog as well, see how they are treated here in this "paradise island", they...