Background of the issue:
I am trying to display translated product details on my site hidden link. The default product page is in English, and I have translated it into zh-hans, zh-hant, and fr using WPML. The product details are created in WooCommerce and displayed through a single product template using Elementor.
Symptoms:
When a non-English language is selected, the single product page cannot be found. For example, the URL hidden link does not display the translated product page.
Questions:
Why is the translated product page not displaying when a non-English language is selected?
How can I ensure that the translated product pages are accessible through the correct URLs?
Before I am able to delve more into the issue I'd appreciate it if you could provide the debug info, so I can grasp a better understanding of your setup:
Also please follow the steps below to make sure the Elementor templates are also translated when it comes to the single product pages:
hidden link
Finally please make sure you see if the same thing happens on a minimal installation or not:
- IMPORTANT STEP! Create a backup of your website. Or better approach will be to test this on a copy/staging version of the website to avoid any disruption of a live website.
- Switch to the default theme such as "TwentyTwenty" by going to "WordPress Dashboard > Appearance > themes".
- Go to "WordPress Dashboard > Plugins" and deactivate all plugins except WPML and its add-ons.
- Check if you can still recreate the issue.
- If not, re-activate your plugins one by one and check the issue each time to find out the plugin that causes the problem.