郷に入っては郷に従え (ごうにいってはごうにしたがえ): when in Rome, do as the Romans do

when in Rome, do as the Romans do

Told to someone joining a new country, company, or group: follow the local way rather than importing your own.

The same saying in Chinese: 入乡随俗