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 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Sao_Paulo (GMT-03:00)

This topic contains 1 reply, has 2 voices.

Last updated by Mateus Getulio 4 months, 2 weeks ago.

Assisted by: Mateus Getulio.

Author Posts
September 13, 2024 at 9:20 pm #16177796

CMS Test

Background of the issue:
The site has 3 languages: EST (main language), RUS, and ENG (second languages). String translations do not work in the WooCommerce checkout form (only billing and shipping fields with customer information). Translations are only displayed when the function 'Auto register strings for translation' is enabled. Once I disable it, translation goes back to ENG (default).

Symptoms:
String translations in the WooCommerce checkout form revert to English when 'Auto register strings for translation' is disabled.

Questions:
Why do string translations in the WooCommerce checkout form only work when 'Auto register strings for translation' is enabled?
How can I ensure that translations remain active even when 'Auto register strings for translation' is disabled?
Are there any additional steps required after updating WPML plugins to fix this issue?

September 13, 2024 at 10:06 pm #16177894

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello, welcome to the WPML support Forum!

I can see that there are a few updates available for your WPML plugins. I remember a similar issue being fixed in the newer versions. Just to be safe, please make a backup of the site files and database before doing the follow procedure:

- Inside your wp-admin please go to Plugins -> Add New.
- Then click on the "Commercial" tab and click on the "Check for updates" button in the WPML section
- After that please select every red plugin available in the list and then click on "Download" at the bottom of the grid.

You can also update it manually by downloading it here and uploading in the add plugins screen: https://wpml.org/account/downloads/

If it doesn't work, please try the following:

- Make sure you have backed up the website in the step before
- Make sure you have Woocommerce Multilingual enabled on your website
- Got to WPML > Languages, Click on "Add/Remove Languages" then click on "Save"
- Go to WPML > Theme and plugin localization
- Check the "Automatically load the theme's .mo file using 'load_textdomain'" box
- Add the textdomain of the strings (probably "woocommerce") to "Enter textdomain" field then save
- Scroll down and scan the theme/plugin
- Go to WPML > String Translator and check if the string is already translated
- Go to WPML > Support > Troubleshooting
- Click on "Show custom MO Files Pre-generation dialog box"
- Refresh the page (It should display the MO files dialog box)
- Regenerate the MO Files

Please let us know if it worked for you.

The topic ‘[Closed] Translation bug in woo checkout’ is closed to new replies.