Skip to content Skip to sidebar

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.

Tagged: 

This topic contains 3 replies, has 0 voices.

Last updated by Otto 2 months, 1 week ago.

Assisted by: Otto.

Author Posts
May 4, 2025 at 7:52 am #16992789

danielN-90

Background of the issue:
I am trying to rebuild automatic translated pages on my site hidden link. WPML automatically translated my Cart and Checkout pages, but they didn't work properly because the templates were using old WooCommerce shortcodes. I have rebuilt the original pages and need the translated pages to update with the new elements.

Symptoms:
The translated pages are not updating with the new elements after rebuilding the original pages. The only option available is to translate the text strings.

Questions:
How can I make the translated pages update with the new elements after rebuilding the original pages?
Is there a better way to update the translated pages without deleting and rebuilding them in different languages?

May 6, 2025 at 3:00 pm #17002445

Otto
WPML Supporter since 09/2015

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

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

To ensure the quickest and most accurate support, please provide your debug information so I can look at some of your configurations. We have an excellent article on how to locate it here: https://wpml.org/faq/provide-debug-information-faster-support/.

Please take a look at this errata:
https://wpml.org/errata/woocommerce-multilingual-cart-page-strings-not-translated-when-using-blocks/

Best Regards,
Otto

May 9, 2025 at 12:52 pm #17016695

danielN-90

Hi,

Thanks for the articles above. That makes it easier for me to clarify our problem.

Without knowing it, we used the old shortcodes for the Woocommerce cart and checkout.

When we installed WPML the Cart en Checkout pages we're translated automatically, but with a few issues.

After realizing that we needed to use the new Woocommerce shortcodes for the cart and checkout, we've updated the English version (the original pages) and everything works fine.

But now all the other languages still show the old shortcodes, so the old blocks, instead of the new ones.

When I try to change this, I can only change the text that was available earlier.

So: how can we 'update' the pages, so that it takes over the new elements used on the checkout and cart pages?

Do we need to delete everything or is there an easier way?

Thanks!

May 9, 2025 at 1:58 pm #17017026

Otto
WPML Supporter since 09/2015

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

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

So, the translated Cart and Checkout pages still show outdated short-code content because WPML sees them as completed translations and does not re-import the new blocks you added to the English originals, right?

You can resync them by (A) re-duplicating/overwriting the translations, (B) forcing WPML to mark them “needs-update” and re-opening the Advanced Translation Editor.

❌ Please make a full website backup before proceeding ❌

Solution A – Overwrite translations with the new English content
• Go to Pages → Cart (English) → top admin bar Language switcher → target-language pencil.
• Click Overwrite with English content; save. 
• Open the Advanced Translation Editor (ATE), complete the 100 % translation (automatic or manual), and save.
• Repeat for Checkout or bulk-duplicate in WPML → Translation Management if you have many languages. 

Solution B – Trigger “needs-update” and retran­s­late
• Edit the English Cart/Checkout page; add a dummy space or comment, and Update.
• WPML flags every translation with the “circular arrows” icon. 
• Click the icon (or open ATE from the Jobs queue) → confirm the new segments → Finish.
• If you prefer automation, set WPML → Settings → Translation Mode = Translate Everything, and the pages will update automatically. 

Best Regards,
Otto