paese che vai, usanze che trovi

Etymology
lit. 'country you go (to), customs you find'.

Proverb

 * 1) one should not be surprised by how different someone else's culture and traditions might be, and should therefore accept them

Usage notes

 * Used to convey a similar meaning to that of.