Skip Navigation

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

Problem:
The client was experiencing issues with anchor IDs not being available for translation.

Solution:
We added a custom XML configuration to make the anchor IDs translatable. The client should now be able to translate them. Here is the XML code we used:

<gutenberg-block type="core/group" translate="1" label="Anchor ID">
      <xpath>//section/@id</xpath>
</gutenberg-block>

If you're experiencing a similar issue, we recommend trying the provided XML configuration. However, please note that this solution might be outdated or not applicable to your case. If it doesn't resolve your issue, we encourage you to check the related known issues, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. If you still need assistance, please don't hesitate to open a new support ticket with us.

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 1 reply, has 2 voices.

Last updated by Kor 9 months ago.

Assisted by: Kor.

Author Posts
February 21, 2024 at 7:46 am #15325610

Martynas.V

Yes, it might be cached for a second. I see that it is working now.

As for anchors not sure what details more can be told. It just not showing to be translated.
hidden link

February 21, 2024 at 3:17 pm #15329020

Kor
Supporter

Languages: English (English )

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

Thanks for your patience.

I've added the custom XML configuration below and it works now. Please check.

<gutenberg-block type="core/group" translate="1" label="Anchor ID">
      <xpath>//section/@id</xpath>
    </gutenberg-block>
Screenshot_129.png