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.

Our next available supporter will start replying to tickets in about 5.35 hours from now. Thank you for your understanding.

We have a longer than usual waiting time. Please make sure to check out the Known Issues page and Minimum Requirements before reporting any issue.
Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 -
- 19:00 – 22:00 19:00 – 22:00 19:00 – 22:00 19:00 – 22:00 19:00 – 22:00 -

Supporter timezone: Europe/Paris (GMT+01:00)

This topic contains 8 replies, has 2 voices.

Last updated by Yvette 6 years, 3 months ago.

Assisted by: Yvette.

Author Posts
July 30, 2018 at 4:01 pm #2594965

Autre

After an update, I have found out that all my widgets had disappeared! So I have recreated them but I face some bugs. The widget translation language is randomly changed.

When I create a widget, I need to close all the others ones. Otherwise, language change on a widget will eventually not be saved in the right one.

Then, try this :
1/ create a widget
2/ add some text
3/ set it to a specific language (like french for instance)
4/ save
5/ reload the page
6/ you'll see that the language has been saved to all languages instead of french

I am using latest release of WPML and WordPress

July 31, 2018 at 11:00 pm #2599949

Yvette
Supporter

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

Timezone: Europe/Paris (GMT+01:00)

Hello

Normally, you would need to translate your widgets with the WPML String Translation module.
If you don´t have this module installed, then we recommend that you use the "WPML Widgets" to translate your widgets.

This is described here:
https://wpml.org/documentation/getting-started-guide/translating-widgets/

Can you confirm that you have installed the module?
Thanks

August 1, 2018 at 6:49 am #2600729

Autre

Hello,

The memory footprint of the String Translation Module is too high to justify an installation just for that purpose as it seems to be feasible without it. The issue is that the widget language isn't saved properly. There is a bug. Have you tried to reproduce this?

Thanks!

August 1, 2018 at 5:53 pm #2602966

Yvette
Supporter

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

Timezone: Europe/Paris (GMT+01:00)

Hello

1. Replicate problem
I was unable to replicate the issue on my local server
On my test system (String Translation not installed) I did the following steps:

1. Created 2 new text widgets
2. Set the "Languages" for one to be "EN" (my defaut language)
Set the "Languages" for the second to be "ES" (my secondary language)
3. I added the 2 widgets to the footer of the theme
4. When I display the page in ES, the ES widget appears
When I display the page in EN, the EN widget appears

I have loaded pictures to demonstrate this.

2. Please note that only "Text" widgets can become multilingual with the core WPML CMS blog subscription.

3. FInally, there are no reported issues with Widgets at the moment in our internal database nor are there existing erratas.

WidgetDefinitions.png
ENShop.png
Desktop screenshot.png
August 2, 2018 at 6:31 am #2604410

Autre

I have made the test again on another site and I faced exactly the same issue...

I have made a screencast for you. You can download the video from there.
hidden link

As you will see, after creating a widget, the language always defaults to all language instead of the selected one.

August 2, 2018 at 3:21 pm #2605918

Yvette
Supporter

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

Timezone: Europe/Paris (GMT+01:00)

Ok. Following the same steps in your screencast, I can replicate the scenario.

I also see that the language remains if you save the widget twice which implies some kind of initialisation of that field with the default value of "All Languages" when the widget is first added to the widget zone.

I will escalate this as a bug and with the known workaround to be the requirement of setting/saving the widget language 2xs.

Is this agreeable to you?

August 2, 2018 at 4:38 pm #2606217

Autre

Ok please keep me posted on the fix.

August 2, 2018 at 10:14 pm #2607047

Yvette
Supporter

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

Timezone: Europe/Paris (GMT+01:00)

This ticket has been escalated to our 2nd tier support group for further investigation and work.

August 13, 2018 at 10:41 pm #2641365

Yvette
Supporter

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

Timezone: Europe/Paris (GMT+01:00)

Just noting here that the issue is now with our development team for fixing.