Skip Navigation

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

Problem:
The client reported that certain elements such as icon lists from Kadence and standard headings were not being recognized by the Advanced Translation Editor (ATE) in a specific post, despite being translated fine in other instances.

Solution:
We recommended the following troubleshooting steps:
1) Navigate to WPML>>Support page and click on the Troubleshooting link.
2) 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 and Generate .Mo files

3) Open the post for editing.
4) Make a minor edit to the post by adding temporary text.
5) Update the post to refresh the translation settings.

We emphasized that the client should try this after a full site backup (mandatory) and report back with their feedback.

Please note that this solution might be irrelevant due to being outdated or not applicable to your case. If so, we highly recommend checking related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the issue persists, please open a new support ticket with us.

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

Last updated by Lukas Cech 1 year ago.

Assisted by: Bigul.

Author Posts
February 23, 2024 at 4:14 pm #15338675

Lukas Cech

Here's another, separate issue.

This post has the exact same elements (icon lists from Kadence) as many others. All others were translated fine, but in this post, some of the icon lists or even standard headings are not seen by ATE.
hidden link

Why is that?

Example strings: Obtížnost (heading), Dobrou náladu 🙂 (icon list), Průběh kurzu: (title) and everything below it.

I have tried deleting all existing translations (went to All pages for English, deleted the English page, deleted it from trash). I also deleted all previous translation jobs, but no change.

These random issues are very frustrating. The same piece of content, post or a block is translated in one instance and isn't in another.

Please also don't ignore the permalink issue above, as you did before.

I have deleted any previous pending

February 23, 2024 at 5:03 pm #15338844

Bigul
Supporter

Languages: English (English )

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

Hello,

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

A couple of doubts. The *Icon lists* are working as expected in the other posts/pages translations, am I correct? Also, has it worked in the past on this post?

--
Thanks!

Bigul

February 23, 2024 at 5:11 pm #15338856

Lukas Cech

Yes, the icon lists are on every activity and they translated fine.

Don't think it worked in the past on this post as this is a new website in development and we have only started translated now.

February 23, 2024 at 5:17 pm #15338864

Lukas Cech

examples where it worked fine: hidden link
hidden link

February 24, 2024 at 4:02 am #15339841

Bigul
Supporter

Languages: English (English )

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

Hi Lukas,

Thank you for the details. Please allow me to make a duplicator copy of your site using the Duplicator plugin(https://wordpress.org/plugins/duplicator/) for debugging the issue on my local server. So we can troubleshoot the issue without affecting your site.

--
Thanks!

Bigul

February 24, 2024 at 8:15 am #15340018

Lukas Cech

Hi Bigul, sure, go for it.

February 26, 2024 at 7:59 am #15342506

Bigul
Supporter

Languages: English (English )

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

Hi Lukas,

Thank you for the permission. I made a copy of the site, will debug it further, and get back to you as soon as possible. Please wait.

--
Thanks!

Bigul

February 28, 2024 at 8:42 am #15352384

Bigul
Supporter

Languages: English (English )

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

Hi Lukas,

I had a few rounds of testing in my local copy and got the expected results after the following steps. Please check the attached image.

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

3) Open the post for edit - hidden link
4) Make a minor edit in the post by adding a temporary text
5) Update the post to refresh the translation settings

Please try it after a full site backup{mandatory} and let us know your feedback.

--
Thanks!

Bigul

2024-02-28_13h57_39.png
February 29, 2024 at 5:09 pm #15359847

Lukas Cech

Hi Bigul,

I tried this twice, but no change. (Now we have migrated the b.ltw.sk to the live site black-sheeps.eu, so I had to disconnect WPML there and can't use it for troubleshooting as ATE won't open anymore). But I tried it on the live site too, twice and no change.

The only text that does show is new text (i.e. a new bullet point or paragraph). If I add anything to the heading Prubeh kurzu for example, it doesn't trigger ATE update.

Based on this, I even tried duplicating all the content that doesn't show and deleting the original ones, but no change, it didn't show.

So I then tried to add completely new paragraphs and copy the text + paste values there, like here:
hidden link

but not even that triggered an update for ATE. but if I add a new text at the top of the page, it does trigger an ATE udpate. I then started adding text going down the page to see where the "cut off" point is (where new text stops trigerring ATE update).

Guess where it was.

At the bullet point with a smiley emoji.

I have replaced it with a text emoji 🙂 and everything works.

Guess the smiley emoji code was breaking everything after it, a parsing error.

I wouldn't expect to have this much additional work because of a smiley! 😀

February 29, 2024 at 5:12 pm #15359851

Lukas Cech

BTW, the smiley was added by the website owner, when they added the page's content, not sure where they copied it from, but it must have been a non-standard smiley.

Thanks for your help Bigul!