Update the translation to match the current state of the page.