adds translation to page_gap.