ahmedH-37
Check the service page for urls , not the home page.
Most of the urls appear translated now but not this one (see screenshot).
Let me know when it's fixed for the titles as well.
Kor
WPML Supporter since 08/2022
Languages:
English (English )
Timezone:
Asia/Singapore (GMT+08:00)
Thanks for your patience. I've corrected the custom XML configuration as shown below and the titles are fixed. Please check.
<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>//h1</xpath>
<xpath>//h3</xpath>
<xpath>//span</xpath>
<xpath>//h2</xpath>
<xpath type="link">//a/@href</xpath>
</gutenberg-block>
</gutenberg-blocks>
</wpml-config>
ahmedH-37
it's working ! thank you !
for future reference, is it possible to explain why we had this issue ? we normally don't use greenshift blocks and that seems to be the problem.
Maybe that is something that should be fixed in the integration Greenshift/ WPML, or if it's something we need to do next time to avoid custom code, let me know.
Thanks!
Kor
WPML Supporter since 08/2022
Languages:
English (English )
Timezone:
Asia/Singapore (GMT+08:00)
Thanks for your reply. This is not a bug, but a way to register custom gutenberg blocks https://wpml.org/documentation/support/language-configuration-files/make-custom-gutenberg-blocks-translatable/ .
You can share this with Greenshift, and they will update the custom XML configuration in their plugin.