Skip Navigation

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

Problem:
You are trying to translate text strings for payment and delivery methods (like PayPal) on your checkout page, but the translations are not appearing on the front end of the site even after clearing the cache.
Solution:
1. Go to WPML >> String Translation and search for the strings you want to translate.
2. Select and delete these strings.
3. Enable the 'Look for strings while pages are rendered' option in WPML >> String Translation.
4. Visit the checkout page on the front end where these strings appear.
5. Return to WPML >> String Translation, search for these strings again, and add your translations.
6. After translating, turn off the auto-registration option.
This should display the correct translations on the front end. If you need to update the translations, you can do so by visiting the specific links provided for each string in the WPML String Translation page.

If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please open a new support ticket at WPML 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.

Tagged: 

This topic contains 6 replies, has 2 voices.

Last updated by Noman 6 months ago.

Assisted by: Noman.

Author Posts
August 4, 2024 at 10:00 am

Meir Pariente

Background of the issue:
I try to translate text strings of payment method (PayPal) and I also tried to translate text strings of delivery methods but in practice I don't see a change in the front of the site, I cleaned the cache. The affected page is the checkout page: hidden link. PHP Version: 8.3.9, Memory limit: 1024M, Memory usage: 214.07 MB, Max execution time: 400, Max input vars: 10000, Utf8mb4 charset: Yes, SimpleXML extension: Loaded, Multibyte String extension: Loaded.

Symptoms:
Translated text strings for payment and delivery methods are not showing up on the front end of the site.

Questions:
Why are the translated text strings for payment and delivery methods not appearing on the front end of the site?

August 4, 2024 at 11:01 am
August 4, 2024 at 5:16 pm #16036976

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

I’ve followed the below steps:

1. Searched for the two strings in WPML >> String Translation.
2. Selected and deleted those strings.
3. Enabled the ‘Look for strings while pages are rendered’ option in WPML >> String Translation.
4. Visited the checkout page on the front end where the strings appear.
5. Re-visited the WPML >> String Translation page and searched for those strings and added the test translation.
6. After translating, I turned off the auto-registration option.

Now it seems to show the correct translation at frontend. You can update the translation by clicking on the below links:

String 1:
hidden link

String 2:
hidden link

Please let me know if this resolves the issue or if you need further assistance with this issue.

Thank you

string frontend.png
string delete.png
August 5, 2024 at 8:19 pm #16041829

Meir Pariente

i tried this on the real site - it didt worked. can you please login and see it yourself?

August 6, 2024 at 8:17 am #16042826

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Okay sure, please provide temporary access (WP-Admin Login info) to your live site, so that I can take a closer look at this issue.

I’ve enabled a private input box for your next reply.

=== Please backup your database and website ===

Thank you

August 7, 2024 at 8:27 am
August 7, 2024 at 11:47 am #16047714

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thanks for sharing the login details. I’ve followed the same steps on your live site and the translation seems to be shown correctly as you can see in the attached screenshot.

You should be able to update the translation from WPML >> String Translation page using the below URLs:
hidden link

hidden link

Please let me know if this resolves the issue or if you need further assistance with this issue.

Thank you for your cooperation

English string.png
French string.png
Hebrew.png
August 7, 2024 at 8:14 pm #16049847

Meir Pariente

Can you please do me a short Loom video? to see exaclty what is your steps? I was unable to follow the steps you described

August 8, 2024 at 3:32 pm #16053636

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Here is the video of the steps that I followed: hidden link

Please let me know if this resolves the issue or if you need further assistance with this issue.

Thank you