[Resolved] Translate block based cart and checkout page in woocommerce
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is trying to translate the block-based cart and checkout pages in WooCommerce while maintaining the new design. However, the Finnish translation is not working, and the pages remain in English, whereas other languages translate without issues. Solution: We recommend changing the locale settings to match the translation file. This can be done by navigating to the WPML languages settings page in your WordPress admin area. Here is a step-by-step guide: 1. Go to your WordPress dashboard. 2. Navigate to WPML > Languages. 3. Adjust the locale settings to match your Finnish translation files. After making these changes, your Finnish translation should work correctly, and you can maintain the new design of the block-based pages.
Please note that this solution might be outdated or not applicable to your specific case. We highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the issue persists, please open a new support ticket at WPML support forum for further assistance.
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.
Background of the issue:
I am trying to translate the block-based cart and checkout pages in WooCommerce, similar to the issue discussed in this thread: https://wpml.org/forums/topic/the-check-out-page-is-only-partly-translated/. I want to maintain the new design of these pages and not revert to the old design.
Symptoms:
Some languages translate fine, but Finnish does not. I expected the page to be translated to Finnish, but it remains in English.
Questions:
How can I translate the block-based cart and checkout pages while keeping the new design?
Why is the Finnish translation not working while other languages are fine?
Languages: English (English )German (Deutsch )French (Français )
Timezone: Europe/Zagreb (GMT+02:00)
Here is the sandbox: hidden link
On this sandbox, can you set the checkout and cart through the blocks in the same way it is set in your website? Let's see if Finnish translation will show up, given that they should be translated in hidden link
While I have you: I cannot find a way to translate the "sub heading" that I have added below EU VAT number in checkout. The string "Kun for EU-virksomheder. Ellers skal du lade stå tom."
This does not show up in the "translate to english" popup as opposed to other custom text that I add.