Posted: January 8, 2014 at 9:34 am
|
Hi, we’re using EE together with qTranslate since our site supports multiple languages. 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 |
|
It probably has to do with the way the return url is constructed in the gateway. Which gateway are you using? |
|
Bank transfer only. |
|
Hi, Can you supply a link to a test event so we can see what’s happening please? |
|
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. |
|
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. |
|
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? |
|
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. |
|
Thank you Dean, for now I have implemented a JS fix. When’s the planned release date for EE4? Cheers |
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.