Improved polylang compatibility: added support for localized success and failure page IDs.