I am running a language plugin called qTranslate that allows me to change the language of the website by adding the appropriate language code after the domain name. For example:
The issue I’m having is, when I’m on a Korean-version of an Event Espresso ticket selector page (ie: http://example.com/KO/events/my-test-event/), after I select the number of tickets and click the Register Now button,I get sent to the English-version of the checkout page.
Hi, that won’t work as expected as the other URLs such as the return URL for PayPal will still point to the english version of the site.
We also do not support WPML or qTranslate at this time.
Here is feedback from a developer on how to handle this:
1. The critical page URLs are set via EE_Core_Config
which is found in the EE_Config.core.php file:
/wp-content/plugins/event-espresso-core-reg/core/
2. Event Espresso uses get_permalink( $page_id) to return the base link for the critical page requested.
3. You would need to re-add filters that are used in the core WordPress get_permalink function. Then check for the critical page ID and then manipulate the URL in one of those filters when on a /KO/ route (visitor is browsing KO version of the site).
—
Lorenzo
Viewing 1 reply thread
The support post ‘Adjust URL after selecting number of tickets (Language related)’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.