Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client is experiencing a blank 'Thank You' page after checkout when using the English version of their WooCommerce site, while the French version works fine. Additionally, the credit card field is not displaying in English during checkout.
Solution:
Firstly, we recommended installing and activating the WooCommerce Multilingual plugin, as it was missing from the client's site. This plugin is crucial for the proper functioning of WooCommerce features in a multilingual environment. The client can install the plugin via "Plugins > Add New > Commercial" tab. For more information, please visit WooCommerce Multilingual documentation.

After activating the plugin, the client should complete the setup and translate the 'My-account' endpoint to ensure the 'Thank You' page works correctly in English. For guidance on translating endpoints, please check this guide.

For the issue with the credit card field not displaying, we advised the client to scan the 'WooCommerce Stripe Gateway' plugin for strings to translate via "WPML > Theme and Plugins localization". After scanning, the client should use "WPML > String Translation" to search for the French text appearing on the English page and add translations by clicking on the "+" icon. If the texts are not found, the client may need to register them from the Admin screen. For more information on this process, please visit String Translation documentation.

If the solution provided here is outdated or not applicable to your case, we highly recommend checking the related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you still need assistance, please do not hesitate to open a new support ticket in our support forum.

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.

This topic contains 4 replies, has 2 voices.

Last updated by Prosenjit Barman 1 year ago.

Assisted by: Prosenjit Barman.

Author Posts
February 26, 2024 at 8:28 pm #15346301

danielA-29

After translating all the French to English page I obtain a blank thank you page in English. Can you help ? In French it's still ok.

I created a user for support team
[removed]

February 27, 2024 at 11:32 am #15348830

Prosenjit Barman
Supporter

Languages: English (English )

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

Hello There,
Thanks for contacting WPML Support.

As this is a public forum, please don't share any sensitive information related to your site directly in public messages. If we need information like access or debugging, we will enable a private field for you so that you can securely share the access. I hope you can understand.

I understand the issue you're having. Upon reviewing the WPML Debug Information, I found that the WooCommerce Multilingual plugin is missing from your site. For optimal functioning of WooCommerce features in a multilingual environment, it is essential to keep the WooCommerce multilingual active on your site. For further information about the plugin, please check this link: https://wpml.org/documentation/related-projects/woocommerce-multilingual/

The issue you're having on the Thank You page could be happening due to not using the WooCommerce Multilingual plugin. Please Install and activate the plugin on your site by going to the "Plugins > Add New > Commercial" tab.

Once the plugin is activated, please complete the setup properly and check again. Since The "Thank you" page is dependent on the My-account endpoint of WooCommerce, you may need to translate the endpoint so that the thank you page works properly. Please check the guide below to understand the process of translating endpoints.

- https://wpml.org/documentation/related-projects/woocommerce-multilingual/#urls

Let me know if the information above helps to solve the issue or if you need further assistance in this matter. I will be happy to help.

Best regards,
Prosenjit

March 6, 2024 at 1:09 pm #15379444

danielA-29

Hello Prosenjit,
Actually at this moment, everything seems ok on the site BUT one thing. When I try to checkout in English, the credit card field is not displaying in English. Original French page is perfect. My plugins seems all up to date.

March 6, 2024 at 2:48 pm #15380175

danielA-29

I'm sending you a screen shot.

2024-03-06_09-47-38.png
March 7, 2024 at 6:46 am #15382321

Prosenjit Barman
Supporter

Languages: English (English )

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

Hello There,
Thank you for the update. Glad to hear that everything is working fine now.

I've checked the screenshot and understood the issue. The texts that are shown in French on the English version of the checkout page, those texts are static text added by the Payment gateway plugin that you're using. To translate them, please try the following and check if that helps:

- Please go to "WPML > Theme and Plugins localization"
- Select the "WooCommerce Stripe Gateway" plugin and click on the "Scan" button
- Once the Scan is completed, please go to "WPML > String Translation"
- Search for any French text that is showing in the English page
- If that text appears in the result, add the translation for the text by clicking on the "+" icon.

However, if you're unable to locate the texts in the String translation section, you may need to check and register the text from the Admin screen. Check this documentation to understand the process: https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/#translate-admin-and-settings-strings

Let me know if the information above helps in solving the issue or if you need further assistance in this matter. I will be happy to help.

Best regards,
Prosenjit

March 7, 2024 at 1:21 pm #15384581

danielA-29

Thank you so much for your support