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

Last updated by Osama Mersal 1 year, 8 months ago.

Assisted by: Osama Mersal.

Author Posts
August 29, 2023 at 12:18 pm

benR-2

Hi, I have a global widget in elementor which is a simple elementor form. The custom messages are not being translated

August 29, 2023 at 1:29 pm
August 30, 2023 at 7:00 am #14310435

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Thanks for contacting WPML forums support. I'll be glad to help you today.

I checked the issue and was able to fix it by editing the translated global widget using Elementor and updating it without changes.

After that, the success message appeared correctly. (Kindly check the attached screenshot)

Best regards,
Osama

2023-08-30_09-58-22.jpg
August 30, 2023 at 7:31 am #14310705

benR-2

Great, how did you get to edit it in translation?

August 30, 2023 at 7:33 am #14310723

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

I didn't get it the translation (Translation Editor) because it was translated in String Translation, so updating the widget using Elementor did the trick.

Best regards,

August 30, 2023 at 7:50 am #14310887

benR-2

Ok, but how did you edit the widget in english in elementor?

August 30, 2023 at 7:52 am #14310895

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Yes, I edited the English global widget with Elementor, added empty space to a string, and clicked the update button.

August 30, 2023 at 7:57 am #14310939

benR-2

Sorry for the confusion, I want to get this straight.
So you opened a translated page in elementor where the global widget is located, made a change, reverted it and saved?

August 30, 2023 at 8:00 am #14310983

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Please check the following steps:

1- Edit the English home page using Elementor
2- Click on the form
3- Click Edit
4- Add a space to a string
5- Delete the space and save

Kindly check this video to see the steps. (hidden link)

I hope this helps you. If you need further info, please let me know.

Best regards,
Osama

August 30, 2023 at 8:05 am #14311019

benR-2

Ok, I get it. It works, but the problem is, when you edit the translation in ATE, the messages revert back to main language.

August 30, 2023 at 8:11 am #14311125

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

I edited the Global Widget translation using ATE, and the message is still translated. Would you please reproduce the issue and let me know the steps to reproduce it?

Best regards,

August 30, 2023 at 8:12 am #14311173

benR-2

Not the global widget, sorry, the page where the widget is, in our case the english home.

August 30, 2023 at 8:17 am #14311241

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

I see what you mean. Could you please try the following steps?

1- Edit the home page in the default language using Elementor
2- Unlink the global widget
3- Update the page
4- Update the English translation using ATE
5- Check if the message string appears in ATE
6- Update the translation

Alternatively, you can unlink the global widget, and use the template shortcode.

Best regards,

August 30, 2023 at 8:50 am #14311597

benR-2

Also, when you edit the global widget on english home, it still does not work on other pages, where the widget is:
hidden link

For now we will use browser messages, because of a tight deadline.
I can send you a duplicator file for further investigation.

Kind Regards,
Ben

August 30, 2023 at 9:14 am #14311699

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi Ben,

I downloaded the Duplicator package and checked the issue on my local server. When using the form without the Global widget, it works correctly.

Also, it works correctly when adding the Global widget to the page using a shortcode.

Best regards,
Osama