This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is experiencing issues with translating WooCommerce WC-blocks. Some strings like 'Order summary' are present in 'String translation' but are not getting translated, and others like 'Shipping to %s' are missing entirely from the string translation section, despite all plugins being up to date and rescanned.
Solution:
We registered the problematic blocks using custom XML configuration in WPML. Here is the code you should add in WPML -> Settings -> Custom XML Configuration tab:
<wpml-config><br /> <gutenberg-blocks><br /> <gutenberg-block type="woocommerce/checkout-contact-information-block" translate="1"><br /> <key name="title" /><br /> <key name="description" /><br /> </gutenberg-block><br /> </gutenberg-blocks><br /></wpml-config>
Please ensure you are using the latest versions of WPML and WooCommerce. If the issue persists after applying this solution, it might be due to other factors or newer issues that have arisen since this solution was provided. We recommend visiting our known issues page, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If this does not resolve your issue, please open a new support ticket.
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.
This topic contains 10 replies, has 0 voices.
Last updated by 1 month, 2 weeks ago.
Assisted by: Carlos Rojas.