Skip to content Skip to sidebar

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

Problem:
When translating a page, no content appears translated, and the translation editor shows zero words.
Solution:
The issue was traced to custom code in the child theme that was preventing WPML scripts from loading correctly. We recommend switching to the parent theme to verify if the translation editor then functions properly and the content becomes visible for translation. If the issue resolves, review and possibly disable parts of the custom code in the child theme to isolate the exact cause. If further assistance is needed, we suggest visiting our support forum.

Please note that this solution might be outdated or not applicable to your specific case. 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.

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

Last updated by dennisB-32 1 day, 3 hours ago.

Assisted by: Dražen.

Author Posts
May 3, 2026 at 3:51 pm #18009476

dennisB-32

When I translate a page, nothing is translated. No text or content is showing.

May 4, 2026 at 9:21 am #18010307

dennisB-32

All pages show '0 words to translate'.

Screenshot 2026-05-04 at 09.20.40.png
May 4, 2026 at 12:27 pm #18010781

Dražen
Supporter

Languages: English (English )

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

Hello,

thank you for your patience.

I can see you already had a call with my colleague Agnes. From what I understand, the issue is that the XLIFF file used for translation appears to be empty and thus showing 0 words and empty translation editor, so I would need to investigate why it’s not being generated correctly.

Since you have a staging site, could you please share access so I can take a closer look?

Regards,
Dražen

May 5, 2026 at 6:10 am #18012318

Dražen
Supporter

Languages: English (English )

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

Hello,

thank you for your message.

I checked this on your site and the issue seems to be related to the child theme. There is custom code there that is preventing WPML scripts from loading correctly.

When I switch to the parent theme, the translation editor loads and works as expected, and the content is visible for translation.

I would recommend reviewing custom code added in the child theme, as is likely blocking WPML functionality.

If needed, you can temporarily disable parts of the custom code to isolate the exact cause.

Let me know how it goes and if you need any help from our side.

Regards,
Drazen

Advanced-Translation-Editor-WPML-05-05-2026_08_08_AM.jpg
May 5, 2026 at 9:58 am #18013408

dennisB-32

Thannk you so much, Drazen!! I will check now.

Appreciate your help a lot.

May 5, 2026 at 10:31 am #18013502

Dražen
Supporter

Languages: English (English )

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

Hello,

you’re welcome, glad I could help.

If anything is still unclear or not working as expected, feel free to reach out.

Regards,
Dražen

May 5, 2026 at 2:05 pm #18014323

dennisB-32

Found the code breaking the translation. Thank you!!