Skip to content Skip to sidebar

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 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

Supporter timezone: Asia/Singapore (GMT+08:00)

Tagged: 

This topic contains 16 replies, has 1 voice.

Last updated by Kor 4 days, 5 hours ago.

Assisted by: Kor.

Author Posts
October 6, 2025 at 4:14 pm #17461435

kaitlinG

Background of the issue:
I am trying to translate accordion titles on a WordPress page using WPML. This issue occurs in all environments. When I create a page and add an accordion with a title containing an '&', like 'Pre-IPO and M&A due diligence', the Advanced Translation Editor in WPML shows the translated value correctly. However, the title does not appear translated on the actual page. This issue is consistent with every title containing an '&'. We have not updated the accordion block, so this issue is happening with the core accordion block in WPML. The issue can be seen on this page: hidden link.

Symptoms:
The accordion title containing an '&' is not translated on the page, despite appearing correctly in the WPML Advanced Translation Editor.

Questions:
How do we resolve the issue of accordion titles not displaying the translated version when they contain an '&'?

October 6, 2025 at 4:36 pm #17461548

kaitlinG

Some more context. I used the WP Cli to get the content of the translated page and this is what I see for the block in question:

<!-- wp:details {"translatedWithWPMLTM":"1"} -->
<details class="wp-block-details"><summary>Pre-IPO and M&A due diligence </summary><!-- wp:paragraph {"placeholder":"Type / to add a hidden block","fontSize":"small","translatedWithWPMLTM":"1"} -->
<p class="has-small-font-size">対象主題の包括的かつバランスのとれた概要を示す詳細なレポートにより、Pre-IPO、M&A、およびその他の資本市場取引をサポートします。</p>
<!-- /wp:paragraph --></details>
<!-- /wp:details -->

October 7, 2025 at 12:49 am #17462111

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for contacting us. Please backup and update all WPML plugins in WP > Plugins > Add New > Commercial Tab. Then, make minor changes to the primary language page and retranslate the page and let me know if the issue is resolved.

October 7, 2025 at 4:57 pm #17464926

kaitlinG

Updated plugins and created a new page. I've added images below that show the flow of the whole process. I create a new page, add a details block with a title that has a "&", I create a translation for japanese and go to the advanced editor to add the translations in, save the translation and then view the newly created page.

I also used the wp cli to get the content of this new page so we can see the block code that is saved by WPML when creating the page:

<!-- wp:details {"translatedWithWPMLTM":"1"} -->
<details class="wp-block-details"><summary>That & This</summary><!-- wp:paragraph {"placeholder":"Type / to add a hidden block","translatedWithWPMLTM":"1"} -->
<p>あれこれ</p>
<!-- /wp:paragraph --></details>
<!-- /wp:details -->

This block code isn't getting saved correctly when the translated page is created. Thats the issue.

Japanese_Page_After_translation.png
WPML_Advanced_translation_editor.png
New_test_page_creation.png
Screenshot 2025-10-07 at 9.52.33 AM.png
October 7, 2025 at 5:06 pm #17464990

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. I will require temporary access (WP-Admin and FTP) to a test site where the problem has been replicated, if possible. This will enable me to provide better assistance and determine if any configurations need to be modified.

Please note that it is important to have a backup for security purposes and to prevent any potential data loss. You can use the UpdraftPlus plugin (https://wordpress.org/plugins/updraftplus/) to fulfill your backup requirements.

Your upcoming reply will be treated with confidentiality and will only be visible to you and me.

✙ To resolve the issue, I may need your consent to deactivate and reactivate plugins and the theme, as well as make configuration changes on the site if necessary. This emphasizes the significance of having a backup.

October 7, 2025 at 6:35 pm #17465120

kaitlinG

We will need to get approval from the client and they'll need to provide access but in the meantime can we schedule a zoom meeting where i walk you through anything and you can guide me on any actions you would like to see? This would be the quickest and easiest solution. This site is hosted on WordPress VIP also.

October 8, 2025 at 10:13 am #17466679

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. Unfortunately, we’re unable to provide support via Zoom at the moment. You can either clone your site to a staging environment, remove any sensitive data, and share the access credentials with me so I can troubleshoot it there.

Alternatively, I can create a sandbox site for you to replicate the issue.
Which option would you prefer?

October 8, 2025 at 4:18 pm #17468156

kaitlinG

Lets go with a sandbox site and try to replicate it

October 8, 2025 at 4:42 pm #17468291

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. You can login to the sandbox site using the link here hidden link . Feel free to install the plugins/theme that is required to replicate the issue.

October 8, 2025 at 6:08 pm #17468545

kaitlinG

Ok i created the page in the sandbox and replicated the issue:

English:
hidden link

Japanese:
hidden link

you'll notice the title in the details block isn't translated even though i added translations.

Screenshot 2025-10-08 at 11.06.45 AM.png
October 8, 2025 at 6:31 pm #17468683

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. I can see the issue now and I've escalated this to our 2nd Tier Support for further investigation. I will come back to you once I've feedback.

October 9, 2025 at 3:30 pm #17472064

kaitlinG

Any update from the 2nd Tier Support?

October 9, 2025 at 3:30 pm #17472068

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. Sorry, no updates yet. They are still investigating this.

October 13, 2025 at 3:09 pm #17480369

kaitlinG

Hello I'm checking in and hoping there's some update to this?

October 13, 2025 at 3:10 pm #17480372

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. I've checked the report, and our 2nd Tier Support is still actively checking on this. I will come back to you once I've feedback.