Refactored CreateLocalizedPage method after 7.0 release