“入乡随俗”

This idiom can be translated to “when in amothers village, abide by their customs”