Skip Navigation

Open

Reported for: WooCommerce Multilingual & Multicurrency 5.3.8

Topic Tags: Bug

Overview of the issue

When using WooCommerce blocks for the Cart and Checkout pages, certain strings like “Proceed to checkout” are not translated on the frontend for some languages. This issue occurs because WooCommerce blocks rely on JavaScript translation files (.json files), which are not fully translatable through WPML String Translation.

Workaround

To bypass this issue, use WooCommerce shortcodes instead of blocks for the Cart and Checkout pages.

  1. Edit the Cart and Checkout pages in WordPress.
  2. Replace the WooCommerce blocks with the following shortcodes:
    • Cart Page: woocommerce_cart
    • Checkout Page: woocommerce_checkout
  3. Save the changes.
  4. Go to WPML > String Translation page, and scan the .mo files for WooCommerce.
  5. Translate the strings as needed.

2 Responses to “WooCommerce Multilingual - Cart Page Strings Not Translated When Using Blocks”

  1. Thanks that was the issue! I managed to replace them with shortcodes and then the translations worked just fine. Thank you so much for you prompt support on the matter!

Leave a Reply

Please stay on topic and be respectful to others. If you need help with issues not related to this post, use our Support Forum to start a chat or submit a ticket.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>