It’s as simple as breeding two Pokémon from two different languages. It doesn’t necessarily matter what the name is, there is a little black rectangle that says what language it is, and if two Pokémon don’t share the same one the masuda method will work when you breed them. You don’t even have to breed a ditto in the first place, it can be any two Pokémon that can breed and are from different languages.