when in Rome

Etymology
An ellipsis of.

Usage notes

 * This shortened form is more common than the full form of the proverb.