入乡随俗 (rù xiāng suí sú): When you enter a village, follow the local customs ; do as the natives do; When in Rome, do as the Romans do

xiāngsuí

When you enter a village, follow the local customs ; do as the natives do; When in Rome, do as the Romans do

Enter the village, follow its customs. The Japanese 郷に入っては郷に従え says the same thing in the same words.

The same saying in Japanese: