This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is experiencing an issue where the original product page on a WooCommerce site using WPML does not correctly switch to its translated version. Instead, it redirects to the translated homepage.
Solution:
We reviewed the client's setup and noticed that the translated product is visible and published, but the language switch issue persists on the original product page. We recommend the following steps:
1. Ensure that the original and translated products are properly connected in WPML. This can be checked under the 'Languages' section in the WordPress admin.
2. Verify that the language switcher settings are correctly configured to redirect to the translated product pages rather than the homepage. This setting can be adjusted in WPML's 'Language URL format' settings.
3. Clear any cache on the site, as caching plugins or server-side caching can sometimes cause issues with dynamic content like language switching.
4. If these steps do not resolve the issue, we suggest checking for any custom CSS or JavaScript that might interfere with the proper functioning of the language switcher.
If the problem persists, please visit our support forum at WPML support forum for further assistance. We also 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 solution provided here becomes irrelevant due to updates or does not apply to your case, 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 2 replies, has 0 voices.
Last updated by 1 month, 1 week ago.
Assisted by: Andrey.


