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+01: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.