Skip to content Skip to sidebar

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

Problem:

The client is using WPML to translate their website to Arabic. They encounter issues where translations disappear from the cart and checkout pages after scanning for strings in themes or plugins. Additionally, some words are missing for translation, and certain translations do not appear on the front end.

Solution:

We recommended the following steps:

1) Ensure a full site backup is taken.
2) Navigate to WPML>>Support page, and click on the Troubleshooting link.
3) On the Troubleshooting page, perform the following actions in the *Clean up* section, waiting for confirmation after each:
- Clear the cache in WPML
- Remove ghost entries from the translation tables
- Fix element_type collation
- Set language information
- Fix WPML tables collation
- Assign translation status to duplicated content
- Fix terms count
- Fix post type assignment
- Cleanup and optimize string tables
- Show custom MO Files Pre-generation dialog box>>Generate .Mo files

Additionally, we advised upgrading to the latest version of WPML String Translation (3.2.16) after a full site backup and clearing all types of caches. This version includes fixes for similar issues.

If these steps do not resolve the issue or if the solution 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. If the problem persists, 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 4 replies, has 0 voices.

Last updated by mansoorN 8 months ago.

Assisted by: Bigul.

Author Posts
November 27, 2024 at 11:18 pm #16451862

mansoorN

Background of the issue:
I am using WPML to translate my website, hidden link, to Arabic.

Symptoms:
When I scan for strings in the themes or plugins, some translations from the cart, checkout page, and other pages disappear. Additionally, I can't find certain words or strings to translate, and some translations do not appear on the front end.

Questions:
1- When I go to "Theme and Plugins Localization" and perform a scan for strings in the themes or plugins, some of the translations from the cart, checkout page, and other pages disappear. Could you please assist in resolving this issue?

2- Sometimes, I can't find the words or strings that I need to translate, even after searching for them in the String Translation section. Additionally, when I do find and translate certain strings, the translations do not appear on the front end of the website. Could you help me understand why this happens and how I can fix it?

November 28, 2024 at 7:06 am #16452950

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

Welcome to the WPML support forum. I will do my best to help you to resolve the issue.

In some cases, those strings may have been recognized but not yet associated with the String Translation panel for the translation. Please visit WPML>>String Translation and click on the «Translate texts in admin screens » link at the bottom of the page.

Then, search for the missing strings in the Admin Texts Translation screen and check whether they are listed. If so, please add them for translation and translate them.

Refer to the following doc for more details.

https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/#translate-admin-and-settings-strings

hidden link

If the issue exists, please share a couple of screenshots to better understand the bug.

--
Thanks!

Bigul

November 30, 2024 at 7:10 pm #16462239

mansoorN

Dear Bigul,

I appreciate your effort to assist me. However, I believe my main questions were not fully addressed. Let me clarify further:

Translations disappearing after scanning strings:

When I perform a scan for strings in the "Theme and Plugins Localization" section or enable the Auto-register strings feature, some existing translations (e.g., from the cart and checkout pages) disappear, even though they were previously translated and displayed correctly.

Here’s the link to the 2 videos, please it:

hidden link

Best regards,
Mansoor

December 1, 2024 at 12:31 pm #16462954

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hi Mansoor,

Thank you for the updates. Does it happen after upgrading to the latest version of WordPress 6.7 or 6.7.1?

Please try the following troubleshooting steps after a full site backup {mandatory} and make sure the issue exists or not.

1) Go to WPML>>Support page, click on the Troubleshooting link (blue link in the middle of the page)

2) On the Troubleshooting page, please click on the following options in the *Clean up* section. Wait for confirmation of processing after each one.

- Clear the cache in WPML
- Remove ghost entries from the translation tables
- Fix element_type collation
- Set language information
- Fix WPML tables collation
- Assign translation status to duplicated content
- Fix terms count
- Fix post type assignment
- Cleanup and optimize string tables
- Show custom MO Files Pre-generation dialog box>>Generate .Mo files

--
Thanks!

Bigul

December 1, 2024 at 7:08 pm #16463600

mansoorN

Dear Bigul,

Thank you for your instructions. I followed all the steps, but unfortunately, the problem is still there.

The issue happens both before and after updating to WordPress 6.7.1.

Please provide further guidance or suggest additional steps to resolve this issue.

I am looking forward to your advice.

Best regards,
Mansoor

December 2, 2024 at 8:31 am #16464508

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hi Mansoor,

Thank you for the updates. Please fill in the private details fields after a full site backup. I would like to access the admin area of your site for further checking. Refer to the following links for more details about our private information sharing policies.

https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

hidden link

--
Thanks!

Bigul

December 2, 2024 at 4:55 pm #16467701

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hi Mansoor,

Thank you for the login information. One request. We have released a new version of WPML String Translation (3.2.16). It has included the fixes for similar issues. So please upgrade to the latest version after a full site backup and clear all types of caches. Then make sure the bug exists or not.

May you have to visit Plugins>>Add New>>Commerical tab and click on the *Check for updates* button to get the WPML automatic upgrade links of the latest version. This step will help us refresh the installer caches.

--
Thanks!

Bigul

December 2, 2024 at 10:36 pm #16468748

mansoorN

Dear Bigul,

Thank you for your help and the update on WPML String Translation. I’ve followed your instructions, and I’m happy to report that the problem is now resolved!

I appreciate your support.

Best regards,
Mansoor