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)

This topic contains 9 replies, has 0 voices.

Last updated by Kor 1 week ago.

Assisted by: Kor.

Author Posts
November 27, 2025 at 1:26 pm #17615184

ahmedH-37

ok your code worked and i see the words translated now, but for the links, i've NEVER had to translate links like that, and I've translated more than 30 websites.

Why do I need to do this now ?

As for my other question related to the symbol, look at the hero banner (screenshot attached). You can see it's written ''amp;'' when translating the symbol ''&''.

November 27, 2025 at 1:28 pm #17615189

Kor
WPML Supporter since 08/2022

Languages: English (English )

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

Thanks for your reply. I tried to check on your staging site and it looks broken now. Are you working on it?

Screenshot_89.png
November 27, 2025 at 1:48 pm #17615280

ahmedH-37

yes we're working on it, doing tests for a bug with Kadence but you can still switch the page to EN and see the issue i'm describing

November 28, 2025 at 1:21 pm #17618244

Kor
WPML Supporter since 08/2022

Languages: English (English )

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

Thanks for your patience. I'll need a duplicator package as explained here https://wpml.org/forums/topic/translated-urls-not-working/#post-17618056 . Once you've provided the package, I will troubleshoot this further locally.

December 1, 2025 at 1:32 am #17621261

ahmedH-37

Hi Sir. We didn't need Duplicator plugin as we use All-in-one WP Migration. We've exported the site to a file and saved it locally but we don't have the option to share a private link now.

December 2, 2025 at 5:02 pm #17627945

Kor
WPML Supporter since 08/2022

Languages: English (English )

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

Thanks for your patience. Did you fix the issue? Because when I checked your translated page here hidden link , the symbol is showing correctly now.

Screenshot_153.png
December 3, 2025 at 4:18 am #17628979

ahmedH-37

I was able to temporarily fix this using the same solution as mentionned in the other thread.

When going in the editor of the english page, I'm seeing this code ''block contains unexpected or invalid content''. This is what is creating the problem it seems because in the WPML editor, the urls appear translated, and inside the gutenberg editor as well. When i click on ''attempt recovery'', it repairs the block and now the url appears translated. Same thing for the ''& '' symbol, it appears that error and the issue is fixed when i click on attempt recovery.

I was able to do this as quick fix since we need to launch the site but it's not convenient because when we update the translation, then the bug reappears and the urls revert back to the french ones.

December 3, 2025 at 6:27 am #17629035

Kor
WPML Supporter since 08/2022

Languages: English (English )

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

Thanks for your patience. I've updated the custom XML configuration and could you please test again and let me know if it's working fine now?

<wpml-config>
  <gutenberg-blocks>
    <gutenberg-block type="kadence/countup" translate="1">
      <key name="title" />
      <xpath>//div</xpath>
    </gutenberg-block>
    <gutenberg-block type="greenshift-blocks/element" translate="1">
      <xpath>//p</xpath>
      <xpath type="link">//a/@href</xpath>
    </gutenberg-block>
  </gutenberg-blocks>
</wpml-config>
December 3, 2025 at 6:54 am #17629127

ahmedH-37

let's keep talking in the other thread please. there's no need to have 2 threads.

December 3, 2025 at 6:54 am #17629128

Kor
WPML Supporter since 08/2022

Languages: English (English )

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

Thanks for your reply. Checking your other ticket now.