Home›Support›English Support›[Escalated to WPML Developers team] Checkout and cart pages aren't being translated properly
[Escalated to WPML Developers team] Checkout and cart pages aren't being translated properly
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.
Our wait time is higher than usual, please make sure you are meeting the minimum requirement - https://wpml.org/home/minimum-requirements before you report issues, and if you can take a look at current Known Issues - https://wpml.org/known-issues/. Thank you.
Background of the issue:
I used automatic translation to translate absolutely everything on my site to 4 languages: Finnish, Estonian, Latvian, and Lithuanian. The main language is English. Cart and checkout are using the Woocommerce block editor. The site I need help with is hidden link.
Symptoms:
The Latvian cart and checkout pages aren't being translated properly. The Estonian checkout page is only partially translated. Finnish and Lithuanian translations work fine.
Questions:
Why aren't the Latvian cart and checkout pages being translated properly?
Why is the Estonian checkout page only partially translated?
I don't really understand this response. I checked the article that you gave and the only thing I could conclude from it was that I would have to use a shortcode instead of the blocks, which I can't do since the design etc is already made and approved by client.
Is there a solution to fixing the Latvian and Estonian cart and checkout pages? I can give you SSH/FTP file system access also if needed.
Just the strange part is that two of the languages checkout and cart pages are translated nicely but then the other two are messed up, even though they are made the exact same way.
Languages: English (English )German (Deutsch )French (Français )
Timezone: Europe/Zagreb (GMT+02:00)
Our 2nd tier suggested few approaches, I understand that you can't use the first one though.
### Option 1: Use Shortcodes
1. **Edit the Cart, Checkout, and My Account Pages**
- Remove the existing blocks and replace them with shortcodes as detailed here: [WooCommerce Shortcodes Documentation](hidden link).
2. **Scan and Translate Strings**
- Go to **String Translation** and click on **"Can't find the strings you're looking to translate?"**
- Select **WooCommerce** and scan for strings.
- The strings should now be available in String Translation for translation into Latvian.
### Option 2: Provide a Valid WooCommerce Translation File
- Upload a valid WooCommerce translation file for the required language.
- To verify, disable WPML and set WordPress to the desired language. This will confirm if the translation works correctly.
For the above:
1. Download the appropriate WooCommerce `.mo` and `.po` translation files from the [WooCommerce Translations Repository](hidden link) and upload them to `wp-content/languages/plugins/`.
2. Disable WPML, change the **Site Language** under **Settings > General**, and check if translations apply correctly.
Languages: English (English )German (Deutsch )French (Français )
Timezone: Europe/Zagreb (GMT+02:00)
If none of the above workarounds are suitable for your needs, we will need to wait for the developers to address this issue. Unfortunately, I don’t have a specific timeline for when this will be resolved.
That said, the fix is planned for inclusion in WooCommerce Multilingual version 5.5.0.
I will keep this ticket updated with any new information or updates from the development team.