Skip Navigation

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.

This topic contains 0 replies, has 1 voice.

Last updated by Andreas W. 1 week, 5 days ago.

Assisted by: Andreas W..

Author Posts
November 13, 2024 at 2:25 pm

matejS-14

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?

November 13, 2024 at 2:52 pm
November 14, 2024 at 2:01 am #16400403

Andreas W.
Supporter

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.

Relative documentation:
https://wpml.org/documentation/translating-your-contents/displaying-untranslated-content-on-pages-in-secondary-languages/#duplicating-content

---

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

Best regards
Andreas

November 14, 2024 at 5:02 pm #16404349

matejS-14

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.

November 14, 2024 at 5:17 pm #16404401

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

The wp-config.php file seems not to be structured correctly.

I tried fixing it using a File Manager but now runing into an issue that does not let me proceed.

Please provide me FTP access to the dev site.

The private reply form is enabled again.

November 14, 2024 at 5:50 pm
November 14, 2024 at 6:11 pm #16404616

Andreas W.
Supporter

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.

November 14, 2024 at 6:16 pm #16404619

matejS-14

ok, so you will let me know, what the result is?

November 14, 2024 at 6:54 pm #16404700

Andreas W.
Supporter

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.

November 15, 2024 at 4:22 pm #16409340

matejS-14

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.

Snímek obrazovky 2024-11-15 v 17.22.02.png
November 15, 2024 at 8:29 pm #16409731

Andreas W.
Supporter

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.

November 16, 2024 at 9:47 am #16410440

matejS-14

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.

November 18, 2024 at 2:34 pm #16415329

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

If the error does still occur once you disable WPML String Translation and WPML Multilingual CMS, then this is not a WPML issue.

Please consult the Elementor Support about this.