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
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:
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.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.