Skip Navigation

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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 -
- 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 -

Supporter timezone: Asia/Dhaka (GMT+06:00)

This topic contains 3 replies, has 2 voices.

Last updated by Prosenjit Barman 1 year, 2 months ago.

Assisted by: Prosenjit Barman.

Author Posts
February 3, 2024 at 2:22 pm #15262251

karleK

I am trying to: Translate Woocommerce checkout page

Link to a page where the issue can be seen: hidden link

I expected to see: Everything translated, because checkout page strings are translated.

Instead, I got: Partially translated checkout page.

February 5, 2024 at 11:33 am #15265681

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
Thanks for contacting WPML Support. Sorry for the delay in responding due to the weekend.

I understand the issue you're having and will try my best to assist you in this matter.

Please note that translations for all static strings in WooCommerce are provided within the WooCommerce Translation (PO) file. If a translation exists in this file, it will automatically be applied without the need for manual translation of that particular string.

According to the WooCommerce Translation project, currently, only 50% of the strings have been translated into Estonian, which you can verify here: hidden link. Therefore, it's likely that the strings on the Checkout page that appear in English have not yet been added to the translation files or translated, leading to their display in the default language.

To address untranslated texts, please follow the suggested steps below and check if you're getting the expected result.

- Please go to "WPML > Theme and Plugins localization"
- Select the "WooCommerce" plugin and scan the plugin for strings.
- Once the Scan is completed, enable "Automatically load the theme's .mo file using 'load_textdomain'" option from the same page and include "woocommerce" in the "Enter Textdomain" box
- Save the changes.
- Now go to "WPML > String Translation" and Search for the String that is not showing translated.
- If that string appears in the result, add the Estonian translation by clicking on the "+" icon.

If you're still not seeing the string in the String translation section, you can look for the string in the Admin screen section by following this guide: https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/#translate-admin-and-settings-strings

Please let me know if the steps above help in solving the issue or if you need further assistance in this matter. I will be happy to help.

Best regards,
Prosenjit

February 10, 2024 at 11:58 am #15288424

karleK

Hi.

I did the steps you described. All the strings that are not translating, have been translated in the String Translation section but it won't take any effect in the checkout page.

February 11, 2024 at 12:00 pm #15289438

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hi There,
Thank you so much for trying out the suggestions.

From the WPML > String Translation section, would you please enable the option under "Auto register string for translation" and check again? Please check this guide to understand the process: https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/#enable-auto-register-strings

If you're seeing the string translated, maybe you need to regenerate the MO files of WooCommerce so that the translation for static strings can load properly. Please follow these steps.

- Please go to WPML > Support > Troubleshooting
- Scroll down and you'll find a button named "Show custom MO Files Pre-generation dialog box". Click on that button.
- The page will reload and a popup will appear. Click on the "Generate .MO Files" button and wait till the generation process is completed.
- Deactivate the Auto Register string option in the String Translation.

I hope the steps above will help in solving the issue. But, if the issue persists even after that, please feel free to let me know. I'll be happy to help.

Best regards,
Prosenjit

The topic ‘[Closed] Woocommerce checkout not translating’ is closed to new replies.