Skip Navigation

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 Carlos Rojas 1 month, 2 weeks ago.

Assisted by: Carlos Rojas.

Author Posts
November 8, 2024 at 9:07 am #16381169

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+01:00)

Good morning!

Please update to the latest Woocommerce version -and any other outdated plugins- and double-check if the issue disappeared.

November 11, 2024 at 12:49 pm #16388585

morteF

Everything is up to date.

November 11, 2024 at 1:10 pm #16388650

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+01:00)

Hi there,

Please provide the access credentials to the site in your next message that I have set as private.

Also, don't forget to create a full backup of the site before sharing the credentials

November 18, 2024 at 10:49 am #16414191

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+01:00)

Hello,

The string must appear with the latest version of WPML plugins and Woocommerce. As an alternative, you can use the Woocommerce shortcodes instead of blocks.