Skip to content Skip to sidebar

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 -
- 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 -

Supporter timezone: Asia/Dhaka (GMT+06:00)

This topic contains 9 replies, has 2 voices.

Last updated by Prosenjit Barman 1 year, 3 months ago.

Assisted by: Prosenjit Barman.

Author Posts
June 18, 2024 at 8:38 am

davidJ-85

Background of the issue:
I am trying to ensure that when a user finishes the purchase process on my WooCommerce site, they land on the Thank you page in the correct language. The site is hidden link and the original language is German. When switched to Polish, the user should see the Polish version of the Thank you page.

It works fine in english. Just not in polish which we have recently added.

This was the URL of the Thank you page after purchase in polish language (hidden link) - this is the enclosed screenshot.

Symptoms:
The user lands on the German version of the Thank you page instead of the Polish version after completing a purchase.

Questions:
How can I ensure that the Thank you page is displayed in the correct language after a purchase?
Is there a specific setting in WPML that needs to be adjusted for the Thank you page?

June 18, 2024 at 9:19 am #15748011

davidJ-85

I checked String Translation and I cant find untranslated strings in polish language.

I also made a short recording:
hidden link

June 19, 2024 at 6:53 am #15753320

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
I hope you're doing well.

I understand the issue you're experiencing. Since you've shared the access information, I logged in and found that you've created a custom Thank You page to display the purchase summary. We are aware of an issue with custom Thank You pages that is similar to what you've reported. Please check this errata for more details: https://wpml.org/errata/elementor-pro-custom-thank-you-page-not-displaying-in-second-language-when-woocommerce-endpoint-is-translated/

Will you please try the workaround mentioned in the Errata and check if you're still having the issue?

If the issue persists, please grant full admin permissions to the access you've shared. Currently, certain features such as plugins and permalinks aren't accessible from your Dashboard. To properly investigate the issue, full permissions in the admin area are required.

Please let me know the update. I will be happy to help if you need further assistance in this matter.

Best regards,
Prosenjit

June 26, 2024 at 8:58 am #15831567

davidJ-85

Hello and thanks for sharing your idea.

Unfortunately it did not work. I switched the code as stated in the post you sent.
Please see screenshot attatched.

But when switched to polish we still get a german Thank you page.
We do not have this issue with english. It works fine with english.

You should have full access and permissions now.

I just backed up the database.

Thank you very much for your support.

Best
David

Xnip2024-06-26_10-50-42.jpg
June 27, 2024 at 6:29 am #15840788

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello David,
Thank you for the update.

I have checked and adjusted all the settings related to the summary page in WooCommerce and Elementor, but the page is still being redirected to the default summary page. Could you please check and confirm that the Thank You or purchase summary page hasn't been configured in any other active plugin on your site? For example, plugins like CartFlows allow you to set a Thank You page within their plugin settings.

If you have configured the Thank You page in another plugin, it might be causing the redirect issue. Please let me know if this setting has been made in any other plugin so that I can take a closer look.

However, if the Thank You page is not configured in any other plugin besides WooCommerce and Elementor, we will need to check the site in a minimal environment. This involves deactivating the plugins and switching themes. May I have your permission to run these tests on the site you have shared? if so, please take a backup of the site and let me know.

I will perform the necessary tests and do my best to assist you in resolving the issue.

Best regards,
Prosenjit

July 1, 2024 at 10:14 am #15867653

davidJ-85

I will set up a new staging environment for you.

Should I clone the existing site and you will deactivate plugins and themes as you want?
Thats probably the best way to move on, correct?

Best
David

PS: before I do that I will check everything as per your last reply

July 2, 2024 at 3:56 am #15871899

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hi David,
I hope you're doing well.

If you can provide access to a staging environment, it will greatly help in debugging the issue. You can create a copy of your site using the All-in-One Migration package and deploy that copy to the staging site. Once the staging site is up and running, and I have access, I will check it in a minimal environment (by disabling plugins and switching themes) and do my best to resolve the issue.

Please feel free to check as I mentioned in my last response. If the issue persists, kindly share the access details. I have enabled the private box for you to share the access information securely. Looking forward to your response.

Best regards,
Prosenjit

July 10, 2024 at 11:22 am #15927905

davidJ-85

You are very kind and I am thankful for your help.

I generated a magic login link valid for 7 days which lets you login to the backend of the staging site hidden link

I just tested with a different browser and it did work. so lets hope it does for you too.

I really hope you can find the solution to our problem.

Best
David

July 11, 2024 at 4:03 am #15931662

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello David,
I hope you're doing well.

Thank you for providing access to the staging site. Unfortunately, I am unable to log in. When I click on the link you shared, a blank page appears (hidden link), and there is no option to proceed. Additionally, I cannot access WP-admin manually.

Could you please check? If you need to share a new access detail, please ensure you add the details within the private box enabled for you.

Let me know the update. I'll be happy to help if you need further assistance in this matter.

Best regards,
Prosenjit

July 18, 2024 at 7:24 am #15970457

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
Thank you for sharing the access to the staging site.

I have checked and identified that the issue with the Thank You page occurs only when the WP Grid Builder - Multilingual addon is active on the site. When I disable this plugin, the Thank You page in Polish language functions correctly.

Before escalating this ticket to the 2nd tier team, I would like to know if the issue occurred with a previous version of the WP Grid Builder Multilingual plugin. If you have access to a previous version of this plugin, could you please install the previous version and check again?

You can also inform the WP Grid Builder plugin support team and check if they are aware of any similar issues.

Let me know the update. I will be happy to help if you need further assistance in this matter.

Best regards,
Prosenjit

The topic ‘[Closed] WooCommerce Thank you page in wrong language’ is closed to new replies.