Skip Navigation

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

Problem:
The client reported that the Elementor accordion widget was not displaying translated content on their website. The content was visible in the native language but not in the translated version. The issue was visible when inspecting elements, although the text appeared in the code, it was not displayed on the page.
Solution:
We created a test page with the same widget to compare settings. It turned out that the client's script for the accordion element was likely affecting content loading. We recommended encapsulating some functions to resolve the issue. If you're experiencing this, we recommend checking your widget settings and comparing them to a working example on a test page.

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

This topic contains 2 replies, has 2 voices.

Last updated by Osama Mersal 9 months, 2 weeks ago.

Assisted by: Osama Mersal.

Author Posts
July 23, 2024 at 8:58 am #15991344

bostjanS-4

Background of the issue:
I translated my whole site but Elementor accordion widget is not displaying the translated text. When I inspect elements, I see the text in the code, it is just not displayed. Also when I go to edit the translated page in elementor editor I see the text displayed and accordion working as expected. Link to a page where the issue can be seen: hidden link

Symptoms:
Elementor accordion widget not displaying translated content. The content is visible on the native language website but not on the translated version.

Questions:
Why is the translated content not displaying in the Elementor accordion widget?
How can I make the translated content visible in the Elementor accordion widget?

July 23, 2024 at 9:14 am #15991705

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Thanks for contacting WPML forums support. I'll be glad to help you today.

I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP)
Preferably to a test site where the problem has been replicated.

Your answer will be private, meaning only you and I can access it.

❌ Please backup your database and website ❌

✙ I need your permission to deactivate and reactivate the plugins and themes and change site configurations. This is also why the backup is critical.

✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.

Best regards,
Osama

July 23, 2024 at 10:54 am #15992136

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Thanks for the access details. I created a test page with the same widget, and it works correctly. Kindly check this hidden link">page.

Please compare the widget settings on the test page and the home page to check if there is any difference.

Best regards,
Osama

July 24, 2024 at 12:26 pm #15998327

bostjanS-4

The problem was the script i had for the accordion element, it probably affected content loading. I had to encapsulate some functions. Thanks for your support!