Skip Navigation

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

Problem:
If you're unable to find drafts of articles that have been translated and validated, this might be due to a glitch or database corruption, potentially caused by multiple active plugins or theme customizations.

Solution:
We recommend trying the following steps:
1. Deactivate all plugins except WPML and String Translation.
2. Switch to a standard WordPress theme, such as WordPress 2024.
3. Apply WPML Troubleshooting Options, avoiding any options that reset languages or WPML settings.
4. Manually add translations for each language by navigating to Pages and clicking the + icon.
5. Use the Advanced Translation Editor (ATE) to complete any incomplete translations and click "Complete Translation".
6. Publish the translations from the 'Drafts'.
7. Reactivate your original theme and necessary plugins, then check the translations on the frontend by editing them again in ATE.
8. If necessary, repeat the process for posts and other content types.
Before applying these steps on your live site, ensure to:
- Take a full backup of your site and database.
- Put your site under maintenance mode.
- Reactivate plugins one by one to identify any conflicts.

If this solution does not resolve your issue or seems outdated, please check for related known issues at https://wpml.org/known-issues/, verify you have the latest versions of themes and plugins, and consider opening a new support ticket for further assistance.

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

Last updated by Waqas Bin Hasan 9 months ago.

Assisted by: Waqas Bin Hasan.

Author Posts
September 26, 2024 at 10:11 pm #16227607

fredericP-18

Background of the issue:
Articles translated by our translator cannot be found in the drafts, even though they have been validated and have been translated.

Symptoms:

Questions:
If I can't access the draft of a translated article, how am I supposed to plan its publication?

September 27, 2024 at 7:43 am #16228646

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

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

Hello Frederic,

Thank you for contacting the support.

May I ask for the debug information of your website for an overview of your setup? See https://wpml.org/faq/provide-debug-information-faster-support/ for more information.

I've enabled the debug information section for your next reply.

Additionally you can also take a look at https://wpml.org/faq/checklist-before-opening-a-ticket-in-wpml-support/ and cross-check for a few initial fixes.

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

Regards,

Waqas

September 27, 2024 at 8:39 am #16228994

fredericP-18

Find attached the debug information

September 27, 2024 at 12:03 pm #16229744

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

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

Thank you for the debug information.

I'm suspecting a conflict here perhaps coming from another plugin or the theme.

Can you please try the following?

1) Take a full backup of your site and database before proceeding.
2) Deactivate all plugins except WPML.
3) Switch to your parent theme "Hello Elementor". You may also check with a standard theme like 2024.
4) Check for the issue if it still happens.
5) Then start activating plugins one by one while keep checking for the issue. This way you 'll be able to pinpoint a conflict when & where it starts creating the problem.
6) If after activating all plugins you see that it still works fine, then switch to your theme and see if that's causing it.

Please let me know your findings and I'll try my best to help you further on the matter.

September 29, 2024 at 11:04 pm #16233891

fredericP-18

Hello,

We've never had this kind of issue before.
All our plugins and theme are up to date.

We need to :

1. Fix the issue for the existing translations
2. Understand what causes the bug that's not systematic

September 30, 2024 at 5:28 am #16234292

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

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

I need to take a closer look at your site. So I request temporary access (WP-Admin and FTP), preferably to a test site where the problem has been replicated.

Your next answer will be private, to share this information safely.

Also provide detailed steps to reproduce the issue and links to pages in the admin and on the frontend.

IMPORTANT: Please take a complete backup of the site to avoid data loss. I may need to activate/deactivate plugins also.

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

October 1, 2024 at 5:01 am #16238260

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

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

Thank you for the access, I was able to login and assess a few things. However, I'm trying to find the translations in "Pending review" and there's none.

- But I found several in "In Progress - Needs Update" status under WPML -> Translation Management -> Jobs.

- Besides these I found several pages and posts in "Draft" mode under Pages or Posts -> "Drafts".

Can you please explain a little more about what "draft" you're referring to? As well as, if you can provide me the names or URLs of the pages (in default language) which have been translated by your translators but you're not finding in the said draft, the 'd be great to observe further.

October 1, 2024 at 8:54 pm #16242842

fredericP-18

For example this page : hidden link
It exists in FR and have been translated in EN
But the EN version is nowhere to be found, no page no draft
Even if I switch the WPML lang in the backend, I can't find this page
And I'm 100% it's not published because the langage selector is not visibile when viewing the page in the front

That happens of every newly translated pages/posts

October 2, 2024 at 8:09 am #16243843

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

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

Thank you for the updates, I checked for the said page "Cybersécurité" and looks like the problem is with this. However, if you click the + icon to add a translation, you'll notice that in ATE the translation is available.

However, not being connected. There's perhaps a corrupted record in the DB about it.

I tried with a new test page (Test Page WPML) and it was translated well. I translated it to English only. After translation, I was able to find it in "Drafts" (see attached) like several other pages. So to publish it I did the following:

- went to Pages -> Drafts.
- switched language to English from top admin bar.
- clicked "quick edit" (or opened for editing) and set the status to "Published".

And in frontend it is working fine (hidden link).

So I'll recommend to try the above mentioned for all the pages and posts in the "Draft".

However, for the "Cybersécurité", please try to delete this page (in TEST SITE OF COURSE), create again and translate. Please let me know if this works or not and I'll try my best to help you further on the matter.

Note: It'd be great if you can give me list of few other pages which are having the same problem, so I can check more about it.

Screenshot 2024-10-02 130214.jpg
October 2, 2024 at 8:25 am #16243974

fredericP-18

On this site in production, we now have 5 articles /LP translated by the service provider in charge of translations. And yet there is no trace of the translations.

I have just seen your ticket. I will come back soon to you. Thank you

October 2, 2024 at 9:07 am #16244310

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

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

Sure, please take your time and let me know, thanks.

October 2, 2024 at 11:57 am #16245352

fredericP-18

I don't know what you've changed about the staging, but articles that had bugs on the translations now don't show the cogwheel at all.

I've checked on the prod and these same articles still have the cogwheel, suggesting that there is a translation, but these are nowhere to be found.

For example : hidden link
This article doesn't have a cogwheel in staging but have one in prod.

Same for :

hidden link
hidden link (EN cogwheel's missing)

For information, articles are translated using the WPML translation assignment module for users with a Contributor role.

Are the staging translations lost as the cogwheel no longer appears? Do I need to clone the prod to the staging?

Screenshot_2.png
Screenshot_1.png
October 3, 2024 at 5:57 am #16247917

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

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

I only deactivated the unnecessary plugins, because I need to check if the problem is really coming from WPML. So I had to deactivate all other plugins.

I'm not sure if this affected but as I remember there were + signs and some had circular arrows.

In my previous message I mentioned that page "Cybersécurité" has + sign, while if you click + to add translation, the translation is available in the editor. But somehow this isn't being "connected" well.

While I tried a new page and it worked well. So I believe there's something corrupted in the DB.

However, to reflect the correct problem, yes please, clone the prod to staging.

Please let me know when staging is ready so I can check again.

October 3, 2024 at 9:34 am #16248623

fredericP-18

Prod have been cloned to staging

"Cybersécurité" page still have the cogwheel in EN but we can't access the EN translation in the front (no lang selector)

And same for the article "Découvrez les 12 bonnes pratiques de sécurité informatique"
the DE translation is visible but not the EN (but it have the cogwheel)

We need to reassure our customer that the translations will not be lost, as this is an external service invoiced to them by a translation agency.

Is it possible for you to provide us with an XML export of the translations, which seem not to be working at the moment?

Thanks !

2024-10-03_11-32.png
2024-10-03_11-29.png
October 3, 2024 at 1:24 pm #16250303

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

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

Thank you for the updates. I'll check again soon and 'll get back to you accordingly.