[Resolved] Changes to site not showing on live site
This thread is resolved. Here is a description of the problem and solution.
Problem: You are trying to translate your site into German using WPML, but the translations are not displaying on the front end or in the WPML control panel. Solution: First, ensure that the translated page is functioning correctly. If it is, follow these steps: 1. Navigate to WPML-> String Translation. 2. Scroll down and click on the Translate texts in admin screens » link. 3. Search for
. 4. Select the string. 5. Click on the Remove from String Translation button. 6. Check the translated pages again. Additionally, you can translate footer strings directly via WPML-> String Translation or by creating a widget for each language, which has been set up on your site. Please verify if the footer translates correctly.
If this solution does not resolve your issue or seems outdated, we 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. If the problem persists, please open a new support ticket 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 am trying to translate my site into German using WPML. It was all working and showing on the front end, but now nothing is displaying. I can't even review it or see it on the WPML control panel.
Symptoms:
Changes to the site are not showing on the live site, and the translations are not visible in the WPML control panel.
Questions:
Why are the changes to my site not showing on the live site?
Why can't I review or see the translations on the WPML control panel?
I translated the content of the site first. This all went well, and was showing on the front end of the site.
I then added the translation switcher to the menu and at the top of each page.
This was also fine.
I then started the string translations. Now, the site is fine in English, the switches are showing.
But the pages that should show as translated are showing as blank.
In the WPML control panel, when you click on the translations to review, again the pages are showing as blank?
Also, after I contacted yesterday, I had an email from wordpress to say the plugin was causing a critical error, and to contact my host.
Which I have done, and they cant find a critical error.
But I really need assistance to work out how to get the translations to show.
I have taken some screenshots to show what I mean. On the website the switches are all showing but load a blank page. And on the control panel, when you click to review the translation, a blank page loads.
Sorry the images are too large, so I will try again shortly.
Thanks for your update. Could you please check if the issue persists in a minimal environment by following these steps?
1- Deactivate all the plugins except WPML CMS and String Translation.
2- Switch for a moment to a WordPress default theme like Twenty Twenty-one.
3- Visit a translated page to check if it appears correctly.
If the issue is gone, activate them one by one to see which one is causing an interaction issue.
❌ Please backup your database before performing the above test ❌
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!
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.
Please add the staging site data to the private field. If you don't see the form below, please don't add your credentials, as they will be publicly exposed٫ (hidden link)