Skip to content Skip to sidebar

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.

Tagged: 

This topic contains 0 reply, has 0 voices.

Last updated by Hernan 1 year, 2 months ago.

Assisted by: Christopher Amirian.

Author Posts
January 27, 2025 at 8:03 pm #16639201

Hernan

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?

January 28, 2025 at 7:21 am #16640006

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

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.

Make sure you set the next reply as private.

Thank you.

January 28, 2025 at 7:21 pm #16643773

Hernan

There is another issue we found which may or not be related to this one:

There are three portfolio posts that were translated.
And now they are published untranslated or partially translated

The links for the supposedly translated, but untranslated portfolio posts are the following:

GUINNESS
hidden link

BAGÓVIT BOTELLA
hidden link

ARROZ LORENZO
hidden link

Please advise on this issue too,
Thanks!

January 29, 2025 at 1:47 pm #16647053

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

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:

wpml.org
cdn.wpml.org
api.wpml.org
ate.wpml.org
api.toolset.com
cloudfront.net

Thanks.

January 29, 2025 at 2:26 pm #16647298

Hernan

Hi Christopher
Thanks for the feedback and we will double-check your suggestion

However the last error in the error log is from over a month ago at 2024/12/20
And the issues we are reporting are happening as of 2025/01/27

So there is probably another issue going on
Please advise

January 29, 2025 at 2:54 pm #16647417

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

Thank you, I'd appreciate it if you could double-check on that anyways.

I checked the page in question and I see that I can not even open it up using the main language and it gives me Too many redirects error:

hidden link

I also checked the portfolio page below:

hidden link

And I see it translated. May I know which part you talk about?

Thanks.

January 29, 2025 at 4:08 pm #16647774

Hernan

Hi Chirstopher

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

ARROZ LORENZO
hidden link

Thanks for your support
Kind regards

January 30, 2025 at 12:06 pm #16651254

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

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.

Thank you.

January 30, 2025 at 12:14 pm #16651324

Hernan

Hi Christopher, thank you for your reply

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

January 30, 2025 at 2:05 pm #16652237

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi Hernan,

Thanks, the copy is in progress. We will get back to you here if we have news.

It might take time.

Thanks.

January 30, 2025 at 2:46 pm #16652463

Hernan

Hi Christopher,
Thanks for your support
Please keep us posted of any news you may have
Thank you

February 2, 2025 at 3:19 pm #16660192

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi Hernan,

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.

Thanks.

February 3, 2025 at 3:10 pm #16663488

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi Hernan,

Thank you for your patience. With the guidance of the second tier support the issue is fixed:

hidden link

I went to WP Dashboard > WPML > Support > Troubleshooting (link) and clicked the buttons in the screenshot attached to this message.

Then I went to the page in question and translated the page and it worked.

So it seems that you now can continue your work.

Thanks.

February 3, 2025 at 4:02 pm #16663676

Hernan

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

February 4, 2025 at 5:53 am #16664928

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi sorry the image was not uploaded:

- Clear the cache in WPML
- Remove ghost entries from translation tables

Thank you.

Screenshot 2025-02-03 at 7.10.05 PM.png