Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client's website is multilingual (EST, RUS, ENG) and faces an issue where string translations in the WooCommerce checkout form revert to English when the 'Auto register strings for translation' is disabled.
Solution:
We recommend trying the following steps:
1. Ensure you have a backup of your live site.
2. Navigate to the

wp-content/languages/plugins

directory.
3. Rename or remove the file named

woo-checkout-field-editor-pro-ru_RU.l10n.php

.
This action should resolve the issue with the string translations reverting to English.

If this solution does not apply to your case, or if it seems outdated, we highly recommend checking the related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. Should the problem persist, please do not hesitate to open a new support ticket.

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.

Tagged: 

This topic contains 5 replies, has 2 voices.

Last updated by Noman 1 year ago.

Assisted by: Noman.

Author Posts
June 3, 2024 at 6:46 am

andreiP-8

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, specifically for billing and shipping fields with customer information. Translations are only displayed when the function 'Auto register strings for translation' is enabled. Once it is disabled, the translation reverts to English (default).

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

Questions:
How can I ensure that string translations in the WooCommerce checkout form work without enabling 'Auto register strings for translation'?

June 3, 2024 at 7:38 am
June 3, 2024 at 12:36 pm
June 3, 2024 at 12:37 pm #15697901

Noman
WPML Supporter since 06/2016

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

To troubleshoot this issue without affecting your live site, I have set up a fresh WP site on cloudways. Can you please migrate your site to the cloudways server so that we can see if it’s a theme/plugin conflict or a server-specific issue? I have shared the migration details in a previous private reply.

Thank you for your cooperation

June 4, 2024 at 6:57 am
June 4, 2024 at 2:06 pm #15702393

Noman
WPML Supporter since 06/2016

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thanks for migrating the site and sharing the login details of the test site. I’m working on debugging this issue on the test site and will get back to you with an update soon.

Thank you for your cooperation

June 4, 2024 at 4:46 pm #15703529

Noman
WPML Supporter since 06/2016

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

- I’ve checked the issue in the minimal environment by deactivating all plugins except WPML, WooCommerce, Checkout Field Editor for WooCommerce plugins, and with the parent Divi theme but the issue still persists.

- The issue is gone when I deactivated the Checkout Field Editor for WooCommerce plugin. I suspect this might be a compatiblity issue between Divi, WPML, and Checkout Field Editor for WooCommerce plugin.

- When we spot a compatibility conflict, we need to replicate this issue at fresh WP site in order to escalate it to our 2nd tier support.

- To replicate this issue at fresh WP site, Could you please follow the below steps:

1. Please login to the fresh WP site by clicking on the auto login URL:
hidden link

2. Please install the Divi theme and Checkout Field Editor for WooCommerce plugin.

3. Configure them as you did on your site and let me know how it goes.

Please note that we only need above mentioned theme/plugin functionality, you don't need to set up an entire website or clone your existing site. You can see more details here: https://wpml.org/faq/how-to-reproduce-issues-and-share-them-with-wpml-support/

Thank you for your cooperation

June 5, 2024 at 6:33 am #15704965

andreiP-8

Installed Divi and the same child theme. Installed Checkout Field Editor

June 6, 2024 at 10:42 am #15710386

Noman
WPML Supporter since 06/2016

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thanks for installing the necessary theme and plugins, I’ve tried to replicate this issue at fresh WP site but it seems to be working correctly there.

It seems to be the site specific issue, so I thoroughly debugged this issue on test site and by renaming/removing the “woo-checkout-field-editor-pro-ru_RU.l10n.php” file from wp-content/languages/plugins directory the issue is solved.

Can you please give it a try on your live site after taking backup and see if this resolves the issue.

Thank you for your cooperation and amazing patience

directory and file.jpg
June 10, 2024 at 6:40 am #15720210

andreiP-8

Thanks for amazing support! It solves the problem!