Skip Navigation

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

Problem:
The client reported that translations on the checkout page were missing unless the 'Look for strings while pages are rendered' option was checked. This issue was suspected to be related to the WordPress 6.6 update.
Solution:
We replicated the client's site locally and on a sandbox environment to troubleshoot the issue. It was discovered that the Pro version of the Checkout Field Editor for WooCommerce plugin provides WPML compatibility, which might be necessary for translating the fields properly. We recommend consulting with the plugin's support team to confirm if upgrading to the Pro version will resolve the translation issues.

If this solution does not apply to your case, or if it seems outdated, 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. Should you need further assistance, 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.

This topic contains 10 replies, has 3 voices.

Last updated by henkO 6 months, 3 weeks ago.

Assisted by: Osama Mersal.

Author Posts
July 23, 2024 at 3:13 pm #15993113

henkO

Background of the issue:
I lost several translations on the checkout page. I looked in the WPML string translations, there they are translated correctly. If I check the Look for strings while pages are rendered. And I refresh the page at front end, then almost all translations are visible again. But if I remove the checkmark, the translations disappear again. I suspect this came after the WordPress 6.6 update but I'm not sure. Link to a page where the issue can be seen: hidden link

Symptoms:
Translations on the checkout page are missing. When 'Look for strings while pages are rendered' is checked, translations appear. When unchecked, translations disappear.

Questions:
Why are translations disappearing on the checkout page when 'Look for strings while pages are rendered' is unchecked?
Could the WordPress 6.6 update be causing this issue?

July 23, 2024 at 3:15 pm #15993141

henkO

Hi, There is no update available?

July 24, 2024 at 9:39 am #15997383

Marcel
Supporter

Languages: English (English ) German (Deutsch )

Timezone: Europe/Madrid (GMT+01:00)

Hi there,

before your ticket is assigned to one of my colleagues, please allow me to walk you through some initial debugging steps. This will help speed up the support process.

Please note that you have opened a forum thread, not a live chat, so it may take several hours for someone to respond to your case.

Please try deleting the strings as described here and then re-add them for translation. Does this resolve the issue for you?

Best regards,
Marcel

July 24, 2024 at 11:07 am #15997897

henkO

Hi,

I have done that, but it dit not resolved the issue 🙁

Hope I can do something to fix this.
I was working fine, before?

July 24, 2024 at 11:10 am #15997906

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

I'm Osama from WPML forums support. I'll be glad to help you today.

I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP)
Preferably to a test site where the problem has been replicated.

Your answer will be private, meaning only you and I can access it.

❌ Please backup your database and website ❌

✙ I need your permission to deactivate and reactivate the plugins and themes and change site configurations. This is also why the backup is critical.

✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.

Best regards,
Osama

July 24, 2024 at 1:48 pm #15998840

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Please try the following steps:

1- Edit the functions.php file
2- Add the following code

add_action('init', function (){

delete_transient('wpml_st_upgrade_in_progress');

});

3- Visit WPML-> String Translation once
4- Delete the code
5- Clear the cache and check the strings

If the above steps don't fix the issue, please let me know, and I'll install the Duplicator plugin on your site to take a local copy.

Best regards,
Osama

July 24, 2024 at 2:19 pm #15998931

henkO

Hi Osama,

Done, but no luck 🙁

Check out page:

First name*
Last name*
Company name
Country / Region

Street address
House number and straat name

Apartment, suite, unit etc. (optional)

Town / City*

Email address*

Bike model *
Year of construction *
How did you find us
Please let us know

Notes about your order, e.g. special notes for delivery

Are still in English.
Rest on the page has been translated correct

July 24, 2024 at 3:27 pm #15999275

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

I installed a local copy of your site and tried some workarounds without luck. Also, I installed the plugin on a hidden link">sandbox site but faced the same issue.

However, when I checked the plugin's Pro features, I found that the hidden link">Pro version provides WPML compatibility.

Please consult the plugin support team to see if you need the Pro version to translate the fields.

Best regards,
Osama

July 24, 2024 at 3:39 pm #15999364

henkO

Hi,

Oke, dit not know that there is a pro version of WPML?

I will ask the support team

July 24, 2024 at 3:40 pm #15999371

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

It's a pro version of "Checkout Field Editor for WooCommerce", not a pro version of WPML.

Best regards,
Osama

July 24, 2024 at 3:42 pm #15999374

henkO

Oke, check
Thanks 🙂

July 27, 2024 at 5:12 am #16010152

henkO

Checkout Field Editor for WooCommerce PRO is the solution thanks for the tip