Background of the issue:
I installed WPML and did automatic translations to all pages. It went pretty well on all pages.
Symptoms:
The translation of the home page is not working; it shows 'page not found'.
also
the menu item says: Detectors is not getting translated eventhough i translated the string of it since its not an actual page but menu item.
Questions:
Why is the home page translation not working?
How can I fix the 'page not found' error for the home page translation?
Do you need access to wordpress dashboard to handle the case?
Thank you for contacting WPML support. While you wait for one of my colleagues to take this ticket and work on it, let me provide you with the first debugging steps or see if I can help with the issue quickly.
If you need further help with this, please share the access details to your site with me. I'm enabling a private message for the following reply.
Privacy and Security Policy
We have strict policies regarding privacy and access to your information. Please see: https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/ **IMPORTANT**
- - Please backup the site files and database before providing us access. --
-- If you have a staging site where the problem can be reproduced, it is better to share access to the staging site.--
Hello,
My name is Carlos, and I will continue working on this ticket
The cause of this behavior was that the translated version of the homepage, in Arabic, was in the trash. I restored it, and now you can see it works correctly.
Hello, no its still not working.. visit the website leak-plus.com and try to switch language using the drop down menu, its not working because the page do not exist, also if you go to inner pages trying to switch to home page.. the home page do not exit on the main menu, also the Detectors menu item is still in english eventhough it was a string translation that was done, but change is not showing.
After reviewing the errors more closely, it appears that the issue is related to file encoding inconsistencies. I recommend contacting your hosting provider and requesting that the server be configured to use UTF-8 encoding for your files.
Once they've adjusted the encoding, please clear any caches and verify if the issue persists.
Let us know how it goes or if you need further assistance.