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
October 4, 2024 at 5:41 am #16252351

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

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

Thank you for your patience and cooperation.

I was able to fix the problem. There was perhaps a glitch or DB corruption. This can happen when there are so many plugins are active (regardless of a compatible or incompatibles) or a theme has customizations (like your child theme).

At this point we can't blame anything for sure.

However, I tried the following steps:

1. Deactivated all plugins except WPML and String Translation.
2. Switched to standard WordPress 2024 theme.
3. Applied WPML Troubleshooting Options. Except the one about resetting any language or WPML (do not apply these).
4. Went to Pages and added the translations for English and German one by one by clicking the + icon. Surprisingly I didn't see cog-wheel icon for "Cybersécurité" page.
5. In ATE, I noticed that translations were already there but were incomplete (a few sentences). I used Google Translate to complete the translation to 100% and clicked "Complete Translation" button.
6. The translations were in "Drafts", so I just published these.
7. So far since I had deactivated all the plugins and had switched the theme, the translations on frontend were empty. So I switched back to your child theme, and, activated Elementor.
8. Again, went to Pages, and clicked "Pencil" icon for English and German translations.
9. In ATE, just clicked "Complete Translation" because translations were already there and completed to 100%. This refreshed the translations and now on frontend, both are working fine.
--- hidden link
--- hidden link
10. I then, went to Posts for "Découvrez les 12 bonnes pratiques de sécurité informatique" post. Here, only English one had the + icon. I clicked it and completed the translation to 100% (the translation was at 91%, see attached).
11. And it worked just fine too. Remember since I had activated Elementor and switched to your theme in step #7, I didn't need to retry steps #8 and #9. However, I had to publish the English translation from "Drafts":
--- hidden link
--- hidden link

Please note that cog-wheel means the translation is in progress and hasn't been completed (means not 100% completed).

You can use the same steps in your live site, but please add following steps BEFORE the above mentioned:

A. Take full backup of the site and database.
B. Put the site under maintenance mode.
C. Apply the steps from #1 to #11.
D. Activate all plugins one by one while keep checking for the said translations. So in case, if issue happens right after this, you'd know what's causing the conflict. While I hope it shouldn't.

After the above mentioned are fixed, you can also export XML (XLIFF) translations (see attached):
- Go to WPML -> Translations.
- Search for the content (posts or pages) you want to export.
- Select.
- From the "Bulk actions" dropdown, chose the XLIFF version.
- Click "Apply" button.

Screenshot 2024-10-04 102134.jpg
Screenshot 2024-10-04 102117.jpg
Screenshot 2024-10-04 102100.jpg
Screenshot 2024-10-04 102042.jpg