Skip Navigation

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.

Sun Mon Tue Wed Thu Fri Sat
9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 - -
- - - - - - -

Supporter timezone: Africa/Cairo (GMT+03:00)

This topic contains 1 reply, has 0 voices.

Last updated by Osama Mersal 1 month ago.

Assisted by: Osama Mersal.

Author Posts
April 11, 2025 at 10:29 am #16922018

janneM-4

Background of the issue:
I am trying to translate the headings of the Easy Accordion Block on my WordPress site. The translations for the post I'm editing and translating appear to be 100% complete in 'translations'. In the translation editor, I can see that the headings are translated from Finnish to English, with a green indicator next to the element.

However, only the accordion content such as paragraphs are translated in the frontend. I have tried several troubleshooting steps, including inserting a paragraph to 'make a small change to the page' as described here: https://wpml.org/forums/topic/accordion-titles-not-translating/#post-15268497, disabling all other plugins except Easy Accordion Block and WPML, changing the custom built theme to Twenty-Twenty Five and back, and disabling browser cache with no server cache enabled.

I am using a custom built block theme, and there are no other issues in translations. Everything else seems to translate well other than the few mentioned above.

I am using WordPress Version 6.7.2 with WP_MEMORY_LIMIT set to 128M, and all plugins are up to date. Link to a page where the issue can be seen: [URL not provided].

I expected to see:

<div class="esab__head" role="button" aria-expanded="true" tabindex="0" aria-controls="esab-body-0"><div class="esab__heading_txt"><h2 class="esab__heading_tag">1. Activities</h2></div><div class="esab__icon esab__active_icon"><div class="esab__collapse"> <svg version="1.2" viewBox="0 0 24 24" width="24" height="24"><path fill-rule="evenodd" d="m12 24c-6.6 0-12-5.4-12-12 0-6.6 5.4-12 12-12 6.6 0 12 5.4 12 12 0 6.6-5.4 12-12 12zm6.7-12c0-0.5-0.4-0.9-0.9-0.9h-4.9v-4.6c0-0.5-0.4-1-0.9-1-0.5 0-0.9 0.5-0.9 1v4.6h-4.9c-0.5 0-0.9 0.4-0.9 0.9 0 0.5 0.4 0.9 0.9 0.9h4.9v5.1c0 0.5 0.4 0.9 0.9 0.9 0.5 0 0.9-0.4 0.9-0.9v-5.1h4.9c0.5 0 0.9-0.4 0.9-0.9z"></path></svg> </div><div class="esab__expand"> <svg version="1.2" viewBox="0 0 24 24" width="24" height="24"><path fill-rule="evenodd" d="m12 24c-6.6 0-12-5.4-12-12 0-6.6 5.4-12 12-12 6.6 0 12 5.4 12 12 0 6.6-5.4 12-12 12zm6.7-12c0-0.5-0.4-0.9-0.9-0.9h-11.6c-0.5 0-0.9 0.4-0.9 0.9 0 0.5 0.4 0.9 0.9 0.9h11.6c0.5 0 0.9-0.4 0.9-0.9z"></path></svg> </div></div></div>

Instead, I got:

<div class="esab__head" role="button" aria-expanded="true" tabindex="0" aria-controls="esab-body-0"><div class="esab__heading_txt"><h2 class="esab__heading_tag">1. Aktiviteetit</h2></div><div class="esab__icon esab__active_icon"><div class="esab__collapse"> <svg version="1.2" viewBox="0 0 24 24" width="24" height="24"><path fill-rule="evenodd" d="m12 24c-6.6 0-12-5.4-12-12 0-6.6 5.4-12 12-12 6.6 0 12 5.4 12 12 0 6.6-5.4 12-12 12zm6.7-12c0-0.5-0.4-0.9-0.9-0.9h-4.9v-4.6c0-0.5-0.4-1-0.9-1-0.5 0-0.9 0.5-0.9 1v4.6h-4.9c-0.5 0-0.9 0.4-0.9 0.9 0 0.5 0.4 0.9 0.9 0.9h4.9v5.1c0 0.5 0.4 0.9 0.9 0.9 0.5 0 0.9-0.4 0.9-0.9v-5.1h4.9c0.5 0 0.9-0.4 0.9-0.9z"></path></svg> </div><div class="esab__expand"> <svg version="1.2" viewBox="0 0 24 24" width="24" height="24"><path fill-rule="evenodd" d="m12 24c-6.6 0-12-5.4-12-12 0-6.6 5.4-12 12-12 6.6 0 12 5.4 12 12 0 6.6-5.4 12-12 12zm6.7-12c0-0.5-0.4-0.9-0.9-0.9h-11.6c-0.5 0-0.9 0.4-0.9 0.9 0 0.5 0.4 0.9 0.9 0.9h11.6c0.5 0 0.9-0.4 0.9-0.9z"></path></svg> </div></div></div>

Symptoms:
The Easy Accordion Block headings aren't translated in the frontend, even though they appear translated in the translation editor. Only the accordion content such as paragraphs are translated in the frontend.

Questions:
Why aren't the Easy Accordion Block headings translating in the frontend?
What additional steps can I take to ensure the headings are translated?

April 15, 2025 at 10:24 am #16933255

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.

First of all, sorry for the late reply; it was due to a higher workload.

Please log in to this hidden link">sandbox site and create a test page containing the "Easy Accordion" block.

After that, please translate it to replicate the issue. If the issue is replicable, please let me know how to reproduce it so I can check it and consult our compatibility team.

Best regards,
Osama

The topic ‘[Closed] Easy Accordion Block headings aren’t translated in the frontend’ is closed to new replies.