Support

Home Forums Event Espresso Premium Current language gets resetted on Thank You page

Current language gets resetted on Thank You page

Posted: January 8, 2014 at 9:34 am

Viewing 8 reply threads


Hannes Schnitzer

January 8, 2014 at 9:34 am

Hi,

we’re using EE together with qTranslate since our site supports multiple languages.
The plugins work fine together and the current language is always correct through registration pages.

Unfortunately, when reaching the Thank You page, current language breaks and the page is shown in default language. This is only true through registration process. The link which gets sent to the user in the confirmation mail points to the correct language (the language that was the current language during registration).

Do you have any idea why this happens?

Thank you.

WP 3.8
EE 3.1.36.1.P
qTranslate 2.5.38


Sidney Harrell

January 8, 2014 at 11:33 am

It probably has to do with the way the return url is constructed in the gateway. Which gateway are you using?


Hannes Schnitzer

January 8, 2014 at 11:34 am

Bank transfer only.


Dean

January 9, 2014 at 1:16 am

Hi,

Can you supply a link to a test event so we can see what’s happening please?


Hannes Schnitzer

January 9, 2014 at 1:31 am

Hi,

regarding this other support question, I sent you login credentials to our dev server. These are still valid. Please go to the registration form at http://dev.granpremiodolomiti.com/register/, set the language to English and register with some dummy data. The Thank You page will then be falsely displayed in German but the link to payment overview in the confirmation mail will correctly send you to the english Thank You page.

Thanks.


Dean

January 9, 2014 at 3:46 am

Hi,

We still have those details thank you.

OK, well I see the issue in that it isn’t modifying the url correctly, however I do not know exactly why or how to resolve it.

I think that the issue might lie in that the URL in question has a query string in it which might be causing qtranslate to not correctly modify the link.

There isn’t much we can do from our end, that’s how the link works, however moving forward EE4 uses a completely different structure that should be more compatible with plugins like WPML and qtranslate.


Hannes Schnitzer

January 9, 2014 at 7:50 am

Oh no. Does this mean, there is no chance to any workaround? I mean, with the current state, the last page of the registration is “broken” for each of our non German speaking customers. This is really, really bad news.

Also, would it be possible to dynamically manipulate the URL through JavaScript? Maybe that’s an option?


Dean

January 9, 2014 at 10:57 am

Hi Hannes,

Well I’m not sure why it wont see that url, I’m only theorising it’s the url query string. It might be worth opening a support ticket with qtranslate for their thoughts.

I JavaScript fix could work, as if you add the /en/ to the url it works fine. I was trying to see if it could be done via PHP but I cant see how qtranslate works its magic so javascript is probably easier to set up.


Hannes Schnitzer

January 10, 2014 at 11:15 am

Thank you Dean, for now I have implemented a JS fix. When’s the planned release date for EE4?

Cheers

Viewing 8 reply threads

The support post ‘Current language gets resetted on Thank You page’ 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.

Event Espresso