This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is developing a site using WPML to add Arabic as a secondary language and has translated everything. However, they are facing an issue where the WooCommerce 'shop' page appears differently between the French and Arabic versions, and they are unable to standardize them.
Solution:
We recommended enabling WPML's debugging features to identify any potential errors that might be causing the display issues. Here are the steps we suggested:
1. Edit the
wp-config.php
file and change the line
define('WP_DEBUG', false);
to
define('WP_DEBUG', true);
2. Add the following lines to the
wp-config.php
file, just before the 'stop editing here' comment:
ini_set('log_errors', TRUE);<br />ini_set('error_reporting', E_ALL);<br />ini_set('error_log', dirname(__FILE__) . 'https://cdn.wpml.org/error_log.txt');
This will create an
error_log.txt
file in the site's root directory, which should be checked for any errors.
Additionally, we requested temporary access to the client's site to further investigate the issue, emphasizing the importance of taking a full backup before providing access. We often recommend using the Duplicator plugin for this purpose, available at http://wordpress.org/plugins/duplicator/.
If this solution does not resolve the issue or seems irrelevant due to being outdated or not applicable to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, 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.