It seems pretty simple to me. If you live in a part of the world where you drive on the right side of the road, then you walk on the right side of the walkway. If you live in Japan, then vice versa.
There's no reason to do that little sidewalk dance. You know the one I'm talking about. When you're walking down the middle of a walkway or sidewalk and you see someone approaching. So, you dodge right like the polite pedestrian you are. They dodge left (to your right). Then you simultaneously dodge the opposite way. Now you're both wondering what the hell to do. At this point you're thinking "OK, this guy is an idiot so I'll just take the bullet and give up my hard earned side. Well, unbeknownst to you, he's thinking "this is about to get real, I better pull my head out of my ass and get on the proper side." Now you're no further ahead. Still on a deadly collision course. You know at this point, if you don't get this figured out in 3 seconds, it's going to get really awkward. Fortunately, it usually gets worked out without any major injuries.
I got so sick of this a little while ago so I developed a system that
works very well for me. When I see someone coming that I know has no intention of moving to the proper side of the walk, I lower my head, look through my eyelashes and pretend I'm in deep thought and not paying attention. The other person, seeing the imminent danger, will eventually make way. 50% of the time, it works every time. And if it doesn't, I will take them down.