Background of the issue:
I have a problem with the plugin's functions. I have translated most of the pages on the website into two languages. The primary language is English. When I open the page at the bottom where the languages are listed, it only shows English (the other two languages are missing). When I try to manually enter the language in the link (hidden link), it shows a 404 error page. Another thing I've noticed is that when I go to WP > Pages and select the + sign for the corresponding language, it opens the translation page where I can see that I have translated the entire page to 100%. After I confirm it, the page loads with all the WP pages, and for the corresponding language, it shows a 'pencil' icon which means I can edit the translation. However, when I refresh the page with F5, the 'pencil' icon disappears and is replaced with a + sign.
Symptoms:
Translated pages are not showing in the language switcher, and manually entering the language URL results in a 404 error. The 'pencil' icon for editing translations disappears after refreshing the page and is replaced with a + sign.
Questions:
How can I make the translated pages appear in the language switcher?
Why does manually entering the language URL result in a 404 error?
Why does the 'pencil' icon for editing translations disappear after refreshing the page?
Thank you for contacting WPML Support, I will gladly help you.
According to your debug info, the WP memory limit needs to be increased, WordPress uses 40Mb as default and the minimum requirements for WPML are 128 MB. Kindly check this page for more information.
You can increase it by adding the following code in your wp-config.php file right before the line: /* That's all, stop editing! Happy publishing. */