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.
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.
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.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.