This thread is resolved. Here is a description of the problem and solution.
Problem: After translating taxonomies for categories, listing directory, and events categories, selecting the second language results in all pages being blank. Solution: We have identified that the issue is related to the custom code in your child theme. We recommend consulting with the developer who added the custom code, as we are unable to provide support for custom code according to our support policy. When we tested with the parent theme, everything worked correctly, indicating that the problem lies within the child theme's customizations.
Please note that this solution might not be relevant if it's outdated or not applicable to your case. If the issue persists, we encourage you to open a new support ticket. We also highly recommend checking the related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please contact us on the WPML support forum.
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.
Next i started on the TAxonomy translations, for Categories, Listing Directory and Events Categories - after doing these when selecting the second language all pages are blank as per screenshot
The site has migrated - all yours. Or do i need to first go to cloudways and do anything Connect Domain, Enable SSL etc
Can i still use/make changes to the site while this process is in place?
To replicate the issue simply click on the language switcher and when in Italian basically all pages are blank.
What i had done prior to the issue:
Began translating Pages first without any problems - everything translated and displayed correctly except for the Directory Category/ Directory Locations Widgets (Directorist Widgets) as I believe because they did not have a language set they would not display until translated. I assumed this was normal and for that reason after i had translated main pages I decided to look at Templates, Categories and other Taxonomies thinking that these would all become visible once translated.
I started on the Template first (simple global widgets, buttons etc) then Taxonomy Translations, for Categories, Listing Directory and Events Categories, Listing Locations all in one go BEFORE checking the site again.
After this point, when clicking on the language switcher the page would load blank.
One strange thing that i did notice when in the Listing Directory was there there was an additional Directory displayed - but in the primary language of Italian
Our site primary language is English
I went to the Directorist Plugin > Directory Builder and noticed that there too was an additional Directory - called General.
I 100% did not create this additional directory - so i deleted it.
It still appears in WPML > Taxonomy Translations > Listing Directory
thanks, I have checked and seems the issue is caused by your child theme, since I see there is some custom code being used there I suggest further checking with a developer who added it, as we can not support custom code per our support policy.
With the parent theme it works just fine: hidden link