Skip Navigation

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

Problem:
The client reported that the order status in their WooCommerce order list was not being translated correctly, with only the first line appearing in Portuguese.

Solution:
We recommended the client to first deactivate all plugins except for WPML, WooCommerce Multilingual & Multicurrency, and WooCommerce to troubleshoot the issue. We also advised ensuring a database backup before making any changes.

Upon further investigation, we identified an issue with the Order Delivery Date Pro for WooCommerce plugin. We provided a workaround:

1. Navigate to the

wp-content/plugins/order-delivery-date/includes/orddd-common.php

file.
2. Open the file and locate line 506 (

require_once ABSPATH . 'wp-admin/includes/file.php';

).
3. Directly after line 506, insert the following code:

load_default_textdomain( 'en_GB' );

4. Locate line 562 (

return $delivery_date_formatted;

) and before it, add:

load_default_textdomain($initial_locale);

5. Save the changes.

These changes were applied to the client's staging website, and we will notify the plugin author about the necessary modifications.

Please note that the solution provided might be outdated or not applicable to your case. If the issue persists, 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. If you still need assistance, please do not hesitate to open a new support ticket in the WPML support forum.

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.

This topic contains 14 replies, has 2 voices.

Last updated by Andrey 8 months, 1 week ago.

Assisted by: Andrey.

Author Posts
April 18, 2024 at 7:28 am #15535655

ricardoA-22

Appreciate if you can inform tyche softwares about this issue.
Thank you for your support!