Home›Support›English Support›[Resolved] "WPML didn't manage to translate this page." and "WPML tried to translate this page three times ...
[Resolved] "WPML didn't manage to translate this page." and "WPML tried to translate this page three times ...
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is unable to translate their website using WPML. Attempts to translate pages result in duplicates that do not display the translated content. Additionally, there are server connection issues due to a firewall blocking WPML's domains. Solution: 1. To convert a duplicate into a translatable page, open the duplicate in the WordPress Editor and select "Translate independently" from the right sidebar. This will allow you to use the WPML Translation Editor for translating the content. For more details, visit WPML documentation on translating content. 2. For the server connection issues, contact your hosting provider and request them to whitelist the following domains:
wpml.org
cdn.wpml.org
api.wpml.org
api.toolset.com
cloudfront.net
If these solutions do not resolve your issues or seem outdated, we recommend opening a new support ticket. Additionally, please check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. For further assistance, you can also visit our support forum 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 our website using WPML. I already sent this issue before, but the chat was closed before I could make a backup as requested. The issue can be seen on this page: hidden link
It does not work with posts, pages, activities... So far I did not manage to translate anything.
Symptoms:
WPML didn't manage to translate this page. WPML tried to translate this page three times and failed. I expected to see a duplicated post, which I can then manualy translate but instead, I got nothing.
Questions:
Why is WPML failing to translate the page?
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Hello,
The translation of your example are "Duplicates" and are not supposed to get translated with the WPML Translation Editor.
A "Duplicate" in WPML will always display the original content and will get overwritten anytime the original content is updated.
To change a "Duplicate" into a "Translation" you need to open the "Duplicates" on the WordPress Editor and click "Translate independently" inside the right sidebar.
Now, you should be able to translate the content with the WPML Translation Editor.
Further, I see the following error on the ATE Error Log:
wpml: cURL error 7: Failed to connect to api.wpml.org port 443: Bad access
WPML is blocked by a firewall
Solution:
Contact your hosting provider and ask them to whitelist the following domains:
wpml.org
cdn.wpml.org
api.wpml.org
api.toolset.com
cloudfront.net
Thank you for deeper explanation. I meant copying the content and I thought this is the right button to click. Anyway it is not fixing the problem. Our hosting provider also whitelisted domains above. I need to translate our site and I can not. Whatever I click to open the page to edit it in different language (no matter if it is from the list of posts/pages/activities... or from a detail) I get the same error: WPML didn't manage to translate this page.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
The error persists:
cURL error 7: Failed to connect to ate.wpml.org port 443 after 9 ms: Could not connect to server
What I can offer is to take a local copy of the website and test if I can recreate this issue on a virtual server. If I will not be able to confirm an issue then your server's file still seeems to be blocking the connection.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
The Advanced Translation Editor opens as expected on a local copy of your site.
I suggest you follow up with the hosting support and ask them to have another look into this. They might need to investigate why our domains are still getting blocked.
It seems to be working now, but Im seeing this in activity detail frontend page Notice: Undefined index: autoplay_speed in /data/www/22741/alpicenter_cz/new/wp-content/themes/winwood/inc/elementor/widgets/testimonial.php on line 1121
I guess it is connected coz I did not have this kind of an issue before.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Where exaclty does this notice occur, as I can not find it?
If this notice appears on original content, please disable WPML and confirm if the notice remains. The notice refers to Elementor and might not be caused by WPML.
You can find it here if you scroll down to testimonials. It occured after wpml plugin was installed, or after we change the whitelist. I dont know, maybe it is not connected, but it was the only change since it appeared. hidden link
I disabled WPML String Translation and WPML Multilingual CMS and the error is still there.