Extract method on page mirror to use in the change language tag