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
10:00 – 14:00 10:00 – 14:00 10:00 – 14:00 10:00 – 14:00 10:00 – 14:00 - -
16:00 – 20:00 16:00 – 20:00 16:00 – 20:00 16:00 – 20:00 16:00 – 20:00 - -

Supporter timezone: Asia/Jerusalem (GMT+03:00)

This topic contains 1 reply, has 0 voices.

Last updated by Itamar 2 weeks, 4 days ago.

Assisted by: Itamar.

Author Posts
June 5, 2025 at 5:27 pm #17111623

ivanB-21

Hi, we are still experiencing the same issue after trying the options you recommended on the Troubleshooting section of the plugin.

But the issue is changed and now it seems that no content is being sent to Crowdin, and it does not seem like a Crowdin issue, since only the post title and URL are being sent to translation, without the post content.

I am sending you the screenshot of the Advanced Translation Editor, where it is visible which content is marked for translation.

I tried editing Custom XML Configuration in the plugin options and added:

<wpml-config>
<gutenberg-blocks>
<!-- Match all blocks in the eightshift-boilerplate namespace -->
<gutenberg-block type="eightshift-boilerplate/*" translate="1">
<!-- Catch all attribute names likely to contain translatable content -->
<key name="*Content" />
<key name="*Text" />
<key name="*Description" />
<key name="*Label" />
<key name="*Title" />
<key name="*Paragraph" />
<key name="*List" />
<key name="*Quote" />
</gutenberg-block>
</gutenberg-blocks>
</wpml-config>

Since my site is built on eightshift-boilerplate and all Gutenberg blocks have this prefix, and 99% of the content is in the key Content, so this should work.

Also, this worked before and seems like the new issue, on top of previous issue.

Do you have any suggestion on this?

Here is the example page I am trying to translate: hidden link

June 5, 2025 at 6:08 pm #17111670

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

Your eightshift-boilerplate XML code is incorrect.
The first thing I observe is the wildcard in the type attribute of the block.

<gutenberg-block type="eightshift-boilerplate/*" translate="1">

You can't use wildcards for the type attribute.
You would need to declare each block type explicitly, like so:

<gutenberg-block type="eightshift-boilerplate/block-one" translate="1">
  <!-- keys -->
</gutenberg-block>
<gutenberg-block type="eightshift-boilerplate/block-two" translate="1">
  <!-- keys -->
</gutenberg-block>
<!-- and so on for each block type -->

Secondly, you can't use the wildcard (asterisk) before the key name.
This is wrong:

<key name="*Content" />

This is right:

<key name="Content*" />

Please refer to our Gutenberg Blocks guide:

https://wpml.org/documentation/support/language-configuration-files/make-custom-gutenberg-blocks-translatable/

And to the main WPML configuration file's guide here:

https://wpml.org/documentation/support/language-configuration-files/

Please let me know if you have any further questions.

Please note that my weekend is Friday-Saturday, and I'll be able to continue to check this issue and help you on Sunday.

Regards,
Itamar.

The topic ‘[Closed] Split: only the post title and URL are being sent to translation, without the post content’ is closed to new replies.