Home›Support›English Support›[Resolved] Translated page still shows the cog icon and translation not visible on frontend
[Resolved] Translated page still shows the cog icon and translation not visible on frontend
This thread is resolved. Here is a description of the problem and solution.
Problem: You have switched from the Classic Translation Editor to the Advanced Translation Editor and updated your homepage, but the translated page is not visible on the frontend. Additionally, in the backend for both translated languages (English and French), the cog icon is showing instead of the pencil icon. Solution: If you're experiencing this issue, we recommend you try the following steps: 1. Edit your database using your database manager, for example, PhpMyAdmin. 2. Search for the icl_sitepress_settings and wpml(Setup) keys. 3. Delete these keys. 4. Go to your site's dashboard. 5. Configure WPML. 6. Try to translate a page without changing the settings. Please ensure to backup your database before proceeding with the above steps.
If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, 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. Additionally, you can open a new support ticket for further assistance at 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.
Background of the issue:
I have built this site many years ago and it was still using the Classic Translation Editor. I have switched to Advanced Translation Editor for old and new translations and tried to update a changed home page. The site is using the Avada builder. The ATE says translations are 100% complete.
Symptoms:
I don't see the updated page on the frontend and in the backend, for both translated languages (English and French), the cog icon is showing instead of the pencil icon.
Questions:
Why is the translated page not visible on the frontend?
Why is the cog icon showing instead of the pencil icon in the backend?
Thanks for contacting WPML forums support. I'll be glad to help you today.
First of all, sorry for the late reply; it was due to a higher workload.
I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP) Preferably to a test site where the problem has been replicated.
Your answer will be private, meaning only you and I can access it.
❌ Please backup your database and website ❌
✙ I need your permission to deactivate and reactivate the plugins and themes and change site configurations. This is also why the backup is critical.
✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.
To enable it, open your wp-config.php file and look for the following line:
define('WP_DEBUG', false);
And change it to:
define('WP_DEBUG', true);
// Enable Debug logging to the /wp-content/debug.log file
define('WP_DEBUG_LOG', true);
// Disable display of errors and warnings, which is recommended on a live site.
define('WP_DEBUG_DISPLAY', false);
@ini_set('display_errors',0);
Then, try to reproduce the issue and check if any errors were saved to the debug.log log file inside the /wp-content/ directory.
It would be great if you could paste your debug.log to https://pastebin.com/ and provide me with that link!
"Pastebin’s SMART filters have detected potentially offensive or questionable content in your Paste.
The content you are trying to publish has been deemed potentially offensive or questionable by our filters, because of this you’re receiving this warning.
This Paste can only be published with the visibility set to "Private"."
I don't have the option to set Private, it's greyed out.
I was able to check the log using the File Manager plugin. Please try the following steps:
1- Edit your database using your database manager, for example, PhpMyAdmin
2- Search for the "icl_sitepress_settings" key
3- Delete this key
4- Go to your site's dashboard
5- Configure WPML
6- Try to translate a page
❌ Please backup your database before the above steps ❌
Kindly let me know if the above steps fixed the issue.
Will I lose all settings when I delete icl_sitepress_settings ?
Would it result in the same when I change 1 setting and then save them? Maybe settings will be saved again?
Deleting this key will delete some settings in the WPML-> Settings page and revert them to the default settings.
Resaving settings would revert the settings to the default. Please take a database backup and delete the key to see if that will fix the issue.
If you don't want to do that on the live site, please replicate the issue on a staging site and let me know so I can delete the key on the staging site.