Home›Support›English Support›[Resolved] Language switcher not updating after reactivating hidden language
[Resolved] Language switcher not updating after reactivating hidden language
This thread is resolved. Here is a description of the problem and solution.
Problem: The client was trying to launch the French translation of their site.
Solution: Although the French version was no longer hidden and accessible directly via URL, it was not appearing in the language switcher. The client tried refreshing the cache and adjusting various settings, but initially, these actions did not resolve the issue. After adding a menu language switcher, both the custom and the menu switchers worked, but removing the menu switcher caused the custom switcher to revert to not showing the French option.
If this solution does not apply to your situation, or if it seems outdated, we 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. Should you need further assistance, please do not hesitate to 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.
I am trying to:
Launch the French translation of our site, after working on it while being hidden.
Link to a page where the issue can be seen: hidden link
I expected to see:
Both NL and FR translations available in the switcher on the bottom left.
Instead, I got:
Only NL shows, just like when FR was still hidden.
I can navigate to hidden link and see the page even when not logged in, so I know FR is not hidden anymore. On the French version, both EN and NL are available in the switcher, but after switching to either, FR is still not available.
I've tried fefreshing cache etc. Or disable/reenable various settings but can't get it to work properly yet.
After more fiddling and clearing cache again in finally worked after all!
Edit: I added a menu language switcher to see if that one would work. It did and my custom language switcher ALSO worked at the same time. After disabling the menu switcher again, thinking the issue resolved, my custom switcher went back to not showing the FR option anymore...
Languages: English (English )Portuguese (Brazil) (Português )
Timezone: America/Sao_Paulo (GMT-03:00)
Hello Johan,
I would like to request temporary access (wp-admin and FTP) to your site to take better look at the issue. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.
Our Debugging Procedures
I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to backup the site before providing us access. In the event that we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site.
- Please make a backup of site files and database before providing us access.
- If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this: hidden link
Please, let me know if you need any additional details. Have a nice day.