Skip Navigation

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

Problem:
The client was trying to enable the Polish translation for WooCommerce by following a guide and uploading the .mo file to the

/languages/woocommerce

directory, but the strings remained in English.
Solution:
We found that the translation should load automatically from WooCommerce. However, there is a known issue where translations do not load when using the block cart and block checkout if

WP_PLUGIN_DIR

and

WP_PLUGIN_URL

are defined in

wp-config.php

. To work around this problem, we recommend:
1. Using the

[woocommerce_cart]

shortcode on the cart page instead of blocks.
2. Removing the

WP_PLUGIN_DIR

and

WP_PLUGIN_URL

definitions from

wp-config.php

and using the standard plugins folder.

Please note that this solution 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 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.

This topic contains 14 replies, has 2 voices.

Last updated by Dražen 1 year, 1 month ago.

Assisted by: Dražen.

Author Posts
February 16, 2024 at 7:31 am #15310229

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

We limit 1 issue per 1 ticket, to keep things clear and easy to follow. I have opened a new ticket for your new issue:

- https://wpml.org/forums/topic/split-many-texts-that-were-translated-before/
- https://wpml.org/forums/topic/split-i-tried-to-see-and-enter-into-page-edit-mode/

Since the original issue of this ticket is resolved I advise closing this one and continue our conversation in the new ticket.

Regards,
Drazen