[Resolved] Flags do not direct to translated pages
This thread is resolved. Here is a description of the problem and solution.
Problem: The client was experiencing an issue where the translated versions of the website were not appearing, despite having translated the entire site. The French flag was not showing up in the widget, and clicking on the flags resulted in empty content on the website, with only the original language displayed.
Solution: 1. We conducted several rounds of testing and consulted with our team for an expert opinion. 2. We discovered a conflict in the template settings, where a template was assigned to secondary languages but set as a draft in the Portuguese language, while its translations were published in secondary languages. 3. We set the template's translation to *Draft* in secondary languages. 4. We updated the Page translations using the WPML Advanced Translation Editor, which resolved the issue.
If you're experiencing a similar issue, we recommend trying the steps mentioned above. However, please note that the solution might be irrelevant if it's outdated or not applicable to your case. We highly recommend checking related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket with us.
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.
Welcome to the WPML support forum. I will do my best to help you to resolve the issue.
Hope you have selected the *Translate What You Choose* option in WPML>> Settings>>Translation Mode.
Please visit Pages>>All Pages, and switch to the secondary language via the Dashboard language switcher. Then make sure the pages are showing as translations in the secondary language.
Please let us know the exact steps to reproduce the issue on your site. It would be great if you could share a screencast or a couple of screenshots for a better understanding of the problem.
Hi! Thanks for the reply! Yes, *Translate What You Choose* was selected from start. And yes, in the dashboards I selet each individual language.
All the main pages from all different languages did not translate and are stuck.
I cleared cache both on server side and WP side,
Tried to manually translate all that's left to no avail, No main page has been translated. Tried to cancel Job list, to no avail.
At this point the issue as nothing to do with the Widget itsel and more with the translation that seems to be stuck overall.
Thank you for the updates. Please try the following steps and let us know your feedback.
1) Open a page having the problem for edit in the default language
2) Make a minor change in the page and update it(to refresh the translation settings)
3) Visit WPML>>Translation Management Dashboard
4) Choose the Page you want to translate or update the existing translations
5) Send it to Translation Basket
6) Visit WPML>>Translation Management>>Translation Basket
7) Send it for translation, by choosing yourself as a translator
8) Visit WPML>>Translations queue and translate the page by clicking the *Translate* button
Hi! Thanks for the help!
So, just did precisely that. Am I suppose to do that with ALL the pages that are stuck?
Do I need to edit everything manually and do a small change, publish and then follow the instructions? That's a lot of work for something that should be automatic.
Any other options?
Thanks in advance
In addition, none of my Homepages, or any other, are translated. The french flag does no appear on the widget, If you click on the Flags all the content on the website is empty....
Only the origina language is showned.
Thank you for the updates. Please fill in the private details fields after a full site backup{mandatory}. I would like to access the admin area of your site for further checking. Refer to the following links for more details about our private information sharing policies.
Thank you for the updates and login information. As suggested by my colleague Nicolas, please do the following steps on the staging site and let us know your feedback. It will help us a lot in debugging.
a) Backup your site first[Mandatory]
b) Switch for a moment to a WordPress default theme like 2023
c) Deactivate all the plugins that are not related to WPML
d) Then check whether the issue exists or not
e) If the issue is gone, activate the plugins as a group of three or four to find which one has an interaction issue
f) Switch back to the original theme of the site
Thank you for providing the details. I have a couple of requests regarding tracking this bug. These will greatly assist us in debugging.
1) Enabling the private option for the next reply. Please share your staging site credentials.
2) Please let us know the exact steps to reproduce the bug on your staging site. It would be great if you could share a screencast for a better understanding. It will help us in internal communication.
Hi! I'm getting a bit tired of this. As per my late reply i ALREADY provided the login details to you.
Nothing changed.
And i was perfectly clear about the issue at hand on the beggining of the Conversation.
As per my reply:
Hi! Thanks for the reply! Yes, *Translate What You Choose* was selected from start. And yes, in the dashboards I selet each individual language.
All the main pages from all different languages did not translate and are stuck.
I cleared cache both on server side and WP side,
Tried to manually translate all that's left to no avail, No main page has been translated. Tried to cancel Job list, to no avail.
At this point the issue as nothing to do with the Widget itsel and more with the translation that seems to be stuck overall.
'------------------------------------------
Roled back to Hello theme (as its the most compatible with elementor) and no joy. Deactivated all plugins, no job got resumed and/or completed.
Role back everything as no joy in saving translation.
Thanks for you help.
--------------------------------------------
Do you even read your tickets?
What should be a straighforward translation is turning into a nightmare.
I´m losing my time fixing my website while i should be taking care of customers.
Get on the website, start debbugging it. Your plugin. Beside as the Customer agent that spoke wit me apparently its your API that's either not working properly, or you have 2 websites on your end that are corrupting my db.
I need a resolution in 48h time or my WHOLE money back. Includning the extra credits i bought for no reason...
Thank you for the feedback. Sorry for the inconvenience you had. We will do our best to resolve the issues you are facing.
I requested the staging site(the clone copy of the site) credentials because it will help us troubleshoot this bug without affecting your site. In the chat with my colleague Nicolas, he suggested making sure the bug exists in a minimal setup or not. So I thought you had tried the steps suggested in the following thread on your staging site.
Also, the translations for the Shop page and the Product posts are displaying correctly on the frontend now. However, there are still issues with other pages. Please review the following URLs:
hidden link
hidden link
hidden link
hidden link
This requires further troubleshooting. So please allow me to make a duplicator copy of your site using the Duplicator plugin(https://wordpress.org/plugins/duplicator/) for debugging the issue on my local server.