Skip Navigation

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

Problem:
The client reported that their homepage and some other pages were not displaying translations despite being translated. Additionally, the WPML plugin was continuously using credits without providing translations, and the translation percentage never reached 100%, always staying under 90%.

Solution:
We investigated the issue and found that it might be related to server limitations or a compatibility issue with one of the active plugins. We requested temporary access to the site to debug further and replicated the site locally for testing. The issue was identified as 'ghost' entries in the translation database from a previous site migration, which prevented WPML from saving and displaying translations correctly. We cleared these ghost entries and added necessary XML configuration code for WP Bakery page builder to ensure all custom blocks were recognized by WPML. This solution involved:

We also provided additional credits to the client's account to compensate for the inconvenience. If this solution does not resolve your issue, or if it seems outdated, we 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 problems persist, please open a new support ticket.

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 0 replies, has 2 voices.

Last updated by Mihai Apetrei 2 weeks, 5 days ago.

Assisted by: Mihai Apetrei.

Author Posts
November 11, 2024 at 11:55 pm #16390508

Greg Wilding

Thanks i'll try this but something else which is strange is. Our homepage doesnt show any translations... however as you can see from attachment they have been translated but even more strange is shwne I go to homepage page it wants me to translate again.

November 11, 2024 at 11:56 pm #16390510

Mihai Apetrei
Supporter

Languages: English (English )

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

Hi there,

I would like to kindly request temporary access (wp-admin and FTP) to your site in order to thoroughly examine the issue. The necessary fields can be found below the comment area. When you log in to leave your next reply, please be assured that the information you enter is private and will only be visible to you and me.

Our Debugging Procedures

I will thoroughly review various settings in the backend to determine if the issue can be resolved. While I will not make changes that affect the live site, it is still advisable to back up the site before granting us access. Should further debugging be necessary, I will create a duplicate and work in a separate, local development environment to avoid any impact on the live site.

Privacy and Security Policy

We have stringent policies in place regarding privacy and access to your information. For more details, please refer to: https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

IMPORTANT

- Prior to granting us access, please ensure that the site files and database are backed up.

If you do not see the wp-admin/FTP fields, please refrain from posting your website details as they will be made public. Kindly request me to enable the private box if you do not see the required wp-admin/FTP fields. You can find the private box by following this link: hidden link

I will await your response.

Kind regards,
Mihai Apetrei

November 12, 2024 at 12:22 am #16390524

Mihai Apetrei
Supporter

Languages: English (English )

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

Hi and thank you for the credentials.

I can confirm that I was able to log in successfully.

I am spending more time on this and I will get back to you as soon as I have more feedback.

I will leave the ticket assigned to myself for the moment.

Kind regards,
Mihai

November 13, 2024 at 10:32 am #16396585

Greg Wilding

Hi, can I please get an update on this.

My client is pushing me for updates... it's been a week now.

Kind Regards,
Greg

November 13, 2024 at 12:50 pm #16397653

Mihai Apetrei
Supporter

Languages: English (English )

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

Hi Greg.

I am sorry that things are not moving faster but some issues take more time to investigate.

In the first ticket we focused on this topic:

Symptoms:
WPML is indicating that we need 150,000 credits to complete a few pages.

Questions:
Why is WPML asking for 150,000 credits to translate a few pages?
What might be causing this discrepancy in the credit requirement?

This current issue however is pretty complex. I was able to reproduce it and the translation is completely being removed after it is being saved. Also, the percentage of the translation never gets to 100%, it always remains under 90%.

There’s a chance this issue might be caused due to current server limitations or to a compatibility issue between WPML and (at least) one of the active plugins.

To further debug the problem I’d like to replicate your site locally.

I will need your written approval to be able to duplicate your site using a plugin called "Duplicator" and test your site on a testing environment so can you please let me know if this is ok with you?

After we find a solution for this, the duplicated site will be deleted.

Also, please create a full website backup before answering.

I will be waiting for your response.

November 13, 2024 at 12:52 pm #16397678

Greg Wilding

That's absolutely fine, you have permission.

What is frustrating though is we've wasted £100's on translations thinking it was a credit issue when in fact it's not 🙁

Kind Regards,
Greg

November 18, 2024 at 9:40 am #16413817

Greg Wilding

Good morning.

Is there any update please?

My client is getting frustrated now because their WPML renewal is about to happen and they are reluctant to stay.

Kind Regards,
Greg

November 18, 2024 at 5:29 pm #16416166

Mihai Apetrei
Supporter

Languages: English (English )

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

Hi Gred.

I'm still debugging on this, sorry that it takes longer than expected. There's also been a wekeend and most of us don't work on the weekends.

As soon as I have updates, I will get back to you.

Regarding this:

"What is frustrating though is we've wasted £100's on translations thinking it was a credit issue when in fact it's not 🙁"

The translations that you received and paid for - you mean those are not useful?

Regarding the renewal, your client will still have 30 days to ask for a refund if they will need it so no worries about that. You can let them know and they can also mention my name in case they will need that when they will request it.

November 19, 2024 at 8:35 am #16418011

Greg Wilding

OK, it's just i'm getting pressured and I don't really want to change plugins 🙂

WPML has been translating fine but because it wont translate the homepage and some other pages it keeps using the credits and we dont get translations so we keep spending credits but dont get anything in return.

Hopefully this is errors....

Kind Regards,
Greg

November 21, 2024 at 1:18 pm #16429174

Greg Wilding

Hi,

Any updates?

It's been over a week now 🙂

November 21, 2024 at 5:02 pm #16430444

Mihai Apetrei
Supporter

Languages: English (English )

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

Hi Greg,

I hope to provide updates within a couple of hours. I apologize for the delay, as this issue has been quite tricky to investigate.

November 21, 2024 at 5:08 pm #16430449

Mihai Apetrei
Supporter

Languages: English (English )

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

I wanted to also make sure you saw the private message I shared earlier: https://wpml.org/forums/topic/split-existing-translations/#post-16421839.

Sometimes, private messages can easily be missed, so I just wanted to make sure that you are aware of it.

I believe you still receive an email notification when a private message is sent.

November 22, 2024 at 8:10 am #16432077

Mihai Apetrei
Supporter

Languages: English (English )

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

Hi there.

Just so you know, I'm still digging on this issue. I will constantly send you an update just so that you know that I'm still working on it. Hopefully by the end of the day we figure it out.

November 22, 2024 at 8:57 am #16432630

Mihai Apetrei
Supporter

Languages: English (English )

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

Greg,

I want to thank you once again for your amazing patience throughout the debugging process and for trusting me with your issue.

This issue was complex to debug, as it involved multiple parts. Even if WPML had been able to save the translations and publish them, some sections of the page would still not be translated. This is because WPML required additional XML configuration code for WP Bakery (the page builder used) to recognize all the custom blocks containing content.

Let me explain further.

Initially, we encountered a problem with WPML not saving the translations. Although the translations appeared to be saved (indicated by a pencil edit icon), refreshing the backend caused the icon to disappear.

This problem seems similar to one reported by another user in this support ticket: https://wpml.org/forums/topic/in-the-backend-my-translations-arent-shown/.

It is likely that your site was migrated at some point and now has "ghost" records in the translation database—content that once existed but was lost during the migration process.

Ultimately, the solution was to follow the same steps recommended by my colleague in that ticket to clear any ghost entries from the database, allowing us to see the actual existing content.

What was unusual is that when you navigated to WPML > Translation Management and checked the homepage or the About page, they appeared as "already translated." However, since they likely existed only on the staging or development site prior to the migration issue, they were no longer available.

This process helped us eliminate any fake reports and start fresh, confirming that the translations WPML recognized were no longer there. Therefore, we needed to resend those pages for translation.

Everything mentioned here in this ticket was tested in the local environment you approved.

I will also include links to some screenshots showing the results from my local testing environment:

- hidden link
- hidden link
- hidden link

Here is the configuration code I referred to earlier, which we also needed to add to the site so that WPML could accurately see all the content for translation: hidden link.

You can find this configuration code on our documentation page here: https://wpml.org/documentation/support/maintaining-wpbakery-page-builder-compatibility-with-wpml/.

Additionally, here's a ticket that is similar to our situation regarding the need for configuration code. This person was also using the UNCODE theme, which is the same theme being used on your site: https://wpml.org/forums/topic/some-wpbakery-page-builder-buttons-wont-appear-for-translation/.

Would you prefer that I follow these steps to resolve the issue on the live site for you, or would you like me to provide a list of steps for you to follow on the live site?

I would need your approval to make changes on the live site and a confirmation that you have created a full backup of the website.

Today, my focus is on resolving this ticket now that we have a better understanding of the problem.

I look forward to your response and will begin addressing it as soon as I hear back from you.

November 22, 2024 at 9:03 am #16432637

Greg Wilding

Yay!

Glad you were able to see the problem 🙂

Yes, I'v made a back up, you may go ahead and do what you have to do on live site please.

Kind Regards,
Greg