Skip Navigation

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 11 replies, has 2 voices.

Last updated by Andreas W. 1 year, 7 months ago.

Assisted by: Andreas W..

Author Posts
September 12, 2023 at 11:02 pm #14386315

danielC-141

I am trying to:
We have had an issue where Elementor Pro global widgets are not showing the translated global widget even though those widgets were translated. We began using a workaround of manually placing the translated global widget on the translated page one by one. However this is extremely labor intensive and I am concerned about unforeseen issues in doing it this way. I would like the intended functionality to work as per wpml documentation about Elementor.

Link to a page where the issue can be seen:
hidden link
This sreenshot: hidden link
shows a global widget as an example on a translated page. The page is translated into Spanish. The global widget shown has also been translated into Spanish using the method described here: https://wpml.org/documentation/plugins-compatibility/elementor/#translate-global-widgets

I expected to see:
A translated global widget appear in the translated language on the translated page

Instead, I got:
The untranslated global widget on the translated page

September 13, 2023 at 1:52 am #14386655

danielC-141

Update: Just to be sure, since my last message, I increased memory limits and tried with a brand new global widget as a test.

You can see that global widget on this page hidden link

It's an orange button that says Test Button.

Here is the translated page:

hidden link

As you can see, the button does not even appear on the translated page.

September 14, 2023 at 3:47 am #14393121

Andreas W.
WPML Supporter since 12/2018

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

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

Hello,

Are you translating this content automatically as a background task?

I am asking, as I would like to know if you can actually confirm that the strings of those Global Widgets are appearing on the WPML Translation Editor when translating them.

Is this the case?

Please verify at Templates > Used Templates > Widgets by opening the WPML Translation Editor (Pencil icon) for your affected and already translated global widgets.

If not, then you might be using Custom Elementor Widgets coming from Addons and those widgets might not have yet a proper wpml-config.xml configuration in order to be translatable with the WPML Translation Editor.

Guide:
https://wpml.org/documentation/support/language-configuration-files/how-to-register-page-builder-widgets-for-translation/

Could this be the case?

Best regards
Andreas

September 14, 2023 at 4:07 am #14393143

danielC-141

No, we are not using any automatic translation including background automatic translation.

Yes the strings appear - everything appears normal when translating.

No, the global widgets in question are not 3rd party widgets. They are stock Elementor Pro widgets such as buttons.

September 14, 2023 at 6:01 am #14393401

Andreas W.
WPML Supporter since 12/2018

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

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

Hello,

Did you already test this in a minimal setup, which means only with Elementor and WPML?

Also, please try testing with the Twenty Twenty-One Theme.

Does the issue keep occurring when using only Elementor PRO, WPML, and the Twenty Twenty One Theme?

I would like to offer to have a closer look at the problem and request temporary access (wp-admin and FTP) to the website to investigate this issue further.

You can find the required fields below the comment section when you log in to leave the next reply. The information you provide is private, which means only you and I can see and access it.

IMPORTANT
Please be sure to make a backup copy of the website and database before allowing us access.
If you can't see the wp-admin / FTP fields, your post and website credentials are set as PUBLIC. DO NOT publish the data unless you see the required wp-admin / FTP fields.

The private response form looks like this:
hidden link

Next time you reply, click "I still need assistance."

Video:
hidden link

Please note that we are obliged to request this information individually on each ticket. We may not access any access information not specifically submitted on this ticket in the private response form.

Best regards
Andreas

September 14, 2023 at 10:27 am #14395715

Andreas W.
WPML Supporter since 12/2018

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

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

Hello,

When trying to open your example content /hunting-accident-lawyer/ in Elementor the page is not loading and Elementor suggests opening in save mode, which also does not work out on my test - not even if I disable WPML.

There are further various errors on the browser debug console that are not related to WPML either. See screenshot.

Your site is using an outdated version of Elementor PRO Version 3.14.1 while the latest version is 3.16.0.

Could you please first update Elementor PRO and then test again if the issue persists?

Best regards
Andreas

test.jpg
September 15, 2023 at 1:31 am #14400025

danielC-141

With the assistance of Elementor support, we found that the issue with loading the editor was only occurring when attempting to edit that one page. They tested it with 0 plugins other than elementor activated and also rolled the version back.

The WMPL issue however is not restricted to that page.

But I have staff working edits and so I can not pursue a solution to this if it means turning plugins on and off while they're working as that would prevent them from doing their work.

I do not believe this WPML is due to a plugin conflict as I had previously noted having tested that. But if you need to turn off plugins in order to further provide support, then I'll need to put this ticket on hold for a day or two.

September 15, 2023 at 3:50 pm #14404401

Andreas W.
WPML Supporter since 12/2018

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

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

Hello,

I wanted to try to create a new test page on your site in order to add a few global widgets and test their translation, but Elementor is still not opening.

This is also the case when testing only with Elementor activated.

This is very odd, as this is not supposed to happen on such a setup.

Please consult Elementor Support and get back to me once the site is working as expected.

Best regards
Andreas

September 15, 2023 at 10:28 pm #14405609

danielC-141

None of us on our side are seeing that issue currently. I just reconfirmed by creating a new page and entering elementor editor with no issue.

That said, I've cloned the site to here:

hidden link
Same username and password.

Perhaps you could try there? That instance of the site is just for your testing so do whatever you want on it.

Thanks.

September 16, 2023 at 12:29 am #14405717

Andreas W.
WPML Supporter since 12/2018

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

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

Hello,

This is odd, but I realize now why I get those errors.

According to Microsoft Edge, all your test sites are marked as "Dangerous" and reported as unsafe - we use Cloudways ourselves and we can confirm such issues on our Cloudways Apps when running only Elementor.

Now, I tested this with Google Chrome and I appear to be able to use Elementor in new content in this case, but your old content is still not editable in Elementor for me.

It is really odd, but you should contact Cloudways about this, as there are various errors on the debug console when trying to open Elementor on existing content.

About the issue with the Global Widgets:

IMPORTANT:
First, please go to WPML > Settings > Custom Fields Translation > Show system fields and set the field and set field _elementor_conditions to "copy".

Then apply again the translation of your Elementor templates and Global Widgets.

This will make sure that the display conditions are set properly for all templates.

I then tested only with Elementor and Elementor Pro on a new page using a global widget and the translation works as expected.

I then enabled all plugins again and the page remains to work, even after adding more global widgets and translating it again.

As you can see I tested all your global widgets successfully:
hidden link

This is why I can not confirm any issue when testing with new content.

Also on hidden link it appears to work now.

Best regards
Andreas

test es.jpg
elementor issue.jpg
save mode.jpg
old content.jpg
September 19, 2023 at 2:59 pm #14420717

danielC-141

Ok, so it was just that one setting this whole time. It does appear to be working now. Thank you.

September 19, 2023 at 4:37 pm #14422617

Andreas W.
WPML Supporter since 12/2018

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

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

Hello,

Yes, indeed - it appears that setting "_elementor_conditions" to copy solved this problem.

I actually asked our compatibility team a long time ago to have this field by default set to "copy" but for some reason, they decided to not set it this way by default, as other clients might not expect such default settings.

Best regards
Andreas