function get_i18n_page_url($echo = false) { require_once GSPLUGINPATH . 'i18n_base/frontend.class.php'; if (!$echo) { # to be compatible with get_page_url!!! echo I18nFrontend::getPageURL(); } else { return I18nFrontend::getPageURL(); } }