In Japanese噂をすれば影 · uwasa wo sureba kage Word for word: “Talk about someone, and their shadow”
In one line“Uwasa wo sureba kage” means that when you talk about someone, that person may show up right then. It is also said as “uwasa wo sureba kage ga sasu.”
“Uwasa wo sureba kage” means when you are gossiping about someone, that very person often shows up. The full form is “uwasa wo sureba kage ga sasu.” Their shadow appears, which means they walk in. English says “Speak of the devil, and he shall appear.” That is a much scarier entrance than a shadow. So there is a bonus lesson: go easy on gossip, especially the mean kind. Office kitchen chats usually end with this saying.
Common mix-upIt is not about ghosts. It means the person you are talking about shows up.
How other languages say it
English
Speak of the devil (and he shall appear).
In daily talk people just say “Speak of the devil!” and greet the person with a laugh. It hardly implies mean gossip.