Reimplement localization of page labels