[Resolved] We cannot translate a page from English to Spanish
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is experiencing an issue where after translating a page from English to Spanish using WPML, the translation does not save properly. Initially, a pencil icon appears, but after attempting to translate, it changes to a plus icon, indicating the need to restart the translation process. Solution: We recommend checking for any object cache that might be enabled either by a plugin or by your server. You can verify this by navigating to the WordPress dashboard > Plugins, and checking the must-use section for any object cache plugins. Additionally, contact your hosting provider to inquire if they have any caching mechanisms enabled and request them to temporarily disable it to see if this resolves the issue. If the problem persists, try the following steps: 1. Go to WP Dashboard > WPML > Support > Troubleshooting and click the buttons to clear the cache in WPML and remove ghost entries from translation tables. 2. Attempt to translate the page again.
If these steps do not resolve your issue, or if the solution seems outdated or irrelevant 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. If the issue still persists, please open a new support ticket at WPML support forum for further assistance.
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 an English page into Spanish using WPML, but it is not working properly. The issue can be seen on this page: hidden link
Symptoms:
After marking the translation as finished, a pencil icon appears. When I click the pencil icon, I cannot locate the Spanish translation. Then, when I go back to pages, the pencil icon is replaced by a plus icon, indicating I need to start the translation process all over again. The page is not saved after translating.
Questions:
Why does the pencil icon change to a plus icon after attempting to translate?
How can I ensure the translation is saved properly?
Welcome to WPML Support. The symptom that you described seems to be related to an object cash that might be either from a plug-in on your website or your server.
To test if it is a plug-in, you can go to WordPress dashboard > plug-ins, and from the top, you should see something like a must-use section to see if the object cash plug-in is installed there.
Also, sometimes it might be the fact that the server and hosting have a cash system so the best way is to contact your hosting service provider and ask if there is an object cash going on if so, ask them to deactivate the cash temporarily to see if it fixes the problem.
If the issue persists, I'd appreciate it if you could give me the URL/User/Pass of your WordPress dashboard after you make sure that you have a backup of your website.
It is absolutely important that you give us a guarantee that you have a backup so if something happens you will have a point of restore.
Thank you for login information. I visited the website and went to WP Dashboard > wpml > Support > Advanced Translation Editor (error logs)
And found constant errors regarding cURL:
cURL error 28: Resolving timed out after 10000 milliseconds
This shows that the Advanced translation editor is unable to connect to our server and usually it happens when your server have a firewall or a security measure that blocks access to wpml.org.
Please make sure that your server has access to the URLs below:
1. URL Accesibility
We tested all the domains at server level and they all work, except for cloudfront.net for which a bucket address is needed for it to work.
Please provide the correct address to test such as XXXXXXXX.cloudfront.net
2. We still cannot translate this page
Regarding the url you provided it was an old url, the redirect issue is solved
Please check the sent url that cannot be translated. hidden link
I've just tested again to translate the page, and it doesn't finish the translation
3. Regarding the Guinness page that is shown translated today it wasn't that way yesterday, when a paragraph was mixed in english in the translated text
This other two pages still have issues, as they are not translated and they were translated before
BAGÓVIT BOTELLA hidden link
Thank you very much, we do not have any subdomain to share for cloudfront.net. It just needs to have access to that.
But besides that, I do see the issue on the link you provided on the last reply.
I wonder if it is possible for us to copy your website to our server to test the same thing there?
That will help us identify if there is something code related happening in relation with other plugins or maybe core of PML, or indeed it is a server related issue.
We will use the Cloudways migratory plugin to copy the website.
Please feel free to copy the website to your servers for testing.
We use Duplicator plugin which is already installed if you want to use it
Or use the Cloudways plugin you are suggesting
Thanks for following up on this issue
Kind regards
Thank you for your patience. The copy of the website was finished and we investigated the problem.
- The same thing happens on the copied website.
- With minimal installation and removing all other plugins and using default WordPress theme same thing happens.
- WPML support troubleshooting steps did not work.
I reported this to the second-tier support. I will get back to you as soon as I have an update.
Hi Christopher, thank you for your support
We are very happy that the issue is solved!
Please send us the screenshot por future reference (it wasn't attached)
Thanks again