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 1 year, 1 month ago.
Assisted by: Dražen.