Skip to content Skip to sidebar

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.

Sun Mon Tue Wed Thu Fri Sat
- 11:00 – 15:00 11:00 – 15:00 11:00 – 15:00 11:00 – 15:00 11:00 – 15:00 -
- 16:00 – 20:00 16:00 – 20:00 16:00 – 20:00 16:00 – 20:00 16:00 – 20:00 -

Supporter timezone: Europe/Rome (GMT+02:00)

Tagged: ,

This topic contains 16 replies, has 1 voice.

Last updated by Laura 1 day, 4 hours ago.

Assisted by: Laura.

Author Posts
July 18, 2025 at 10:34 am #17249542

rafaelF-23

Background of the issue:
I am trying to resolve a conflict between the WPML String Translation plugin and WooCommerce bookings. After contacting WooCommerce support and conducting conflict-testing, we identified that the WPML String Translation plugin is causing issues with our WooCommerce bookings. Normally, each person should count as a slot, but this is not happening with the plugin active. Additionally, I noticed that Elementor page strings have disappeared, although our translations remain intact.

Symptoms:
The WPML String Translation plugin is interfering with WooCommerce bookings, preventing each person from counting as a slot. Elementor page strings have also disappeared.

Questions:
How can I resolve the conflict between WPML String Translation and WooCommerce bookings?
Why are Elementor page strings disappearing with WPML String Translation active?

July 18, 2025 at 11:03 am #17249793

George Botsev
WPML Supporter since 02/2014

Languages: English (English )

Timezone: Europe/Sofia (GMT+03:00)

Hello! Before one of my colleagues takes this ticket, would you mind providing more information of the issue, please?
Can you perhaps record a screencast of the issue?

You mentioned that persons are not counted as a slot.
Normally String Translation exactly won't cause an issue with the Bookings plugin. However, WooCommerce Multilingual depends on that plugin to do its magic and it should be properly configured.
This being said, do you perhaps have any warnings in WooCommerce > WooCommerce Multilingual > Status page? As this might influence the bookings.
In addition, if I recall correctly `bookable_person` is a post type and it should be set to be translated. You can check that in WPML > Settings > Custom post Translation section and make sure it is set like that.

July 18, 2025 at 3:06 pm #17251140

rafaelF-23

Hi,

I can provide you an example of the error before disactivating the plug in.

The product had 20 slots, i had 2 reservations with a total of 10 people, the correct would be to have 10 slots available, but as you see there it shows 18.

This happened now because we updated some plugins recently, and after a lot of testing, the wpml strings was the one that by disactivating, fixed the problem, but of course now we have other issues, so we'd like to find a fast solution for this.

bookable_person is configured as translatable.

Captura de ecrã 2025-07-18 160423.png
Captura de ecrã 2025-07-18 160312.png
Captura de ecrã 2025-07-17 184327.png
Captura de ecrã 2025-07-17 184758.png
Captura de ecrã 2025-07-17 184822.png
Captura de ecrã 2025-07-17 184925.png
Captura de ecrã 2025-07-17 185238.png
July 22, 2025 at 10:20 am #17258647

rafaelF-23

Hi there,

This is a very urgent issue, we need assistance please

July 22, 2025 at 2:05 pm #17259698

Laura
WPML Supporter since 05/2018

Languages: English (English ) Italian (Italiano )

Timezone: Europe/Rome (GMT+02:00)

Hi,

Thanks for contacting us.

There's a staging site where we can run some tests?

July 22, 2025 at 3:12 pm #17259956

rafaelF-23

Update:

We ran more tests, and found out that maybe it's not the String translation plug in since it's last update was long ago, but the WooCommerce Multilingual & Multicurrency, we downgraded this to the 5.5.0 version, and it appears everything is working well now, can you please check on this?

No, we don't have a staging site

July 22, 2025 at 3:26 pm #17260098

Laura
WPML Supporter since 05/2018

Languages: English (English ) Italian (Italiano )

Timezone: Europe/Rome (GMT+02:00)

If I provide you with a Sandbox, would you install WooCommerce Booking there and try to reproduce the issue?

July 23, 2025 at 11:15 am #17263563

rafaelF-23

Sure

July 23, 2025 at 12:53 pm #17263984

Laura
WPML Supporter since 05/2018

Languages: English (English ) Italian (Italiano )

Timezone: Europe/Rome (GMT+02:00)

Here you go: hidden link

July 23, 2025 at 2:27 pm #17264422

rafaelF-23

Hi, ok uploaded the plugins, can you check the configurations?

Either way i reproduced te error. I made a product with 20 slots, made 1 reservation with 2 people, should be left with 18 slots, but I'm left with 19, meaning it's not counting the people as bookings, even though I've configured it that way.

July 24, 2025 at 10:03 am #17266800

Laura
WPML Supporter since 05/2018

Languages: English (English ) Italian (Italiano )

Timezone: Europe/Rome (GMT+02:00)

Thanks for testing, it seems all ok. I'm sending the ticket to the 2nd tier and I hope we'll have a solution soon.

In the meanwhile, I suggest you keep using WCML 5.0.0.

July 28, 2025 at 7:40 pm #17276636

rafaelF-23

Hi there,

We just noticed that the system is allowing reservations even after being full. We are still with the 5.5.0 version, and this is a very critical error. We need a fix urgently please.

July 29, 2025 at 10:41 am #17278359

Laura
WPML Supporter since 05/2018

Languages: English (English ) Italian (Italiano )

Timezone: Europe/Rome (GMT+02:00)

Can you try the workaround here (for version 5.5.1) and see if it fixes the issue?

July 29, 2025 at 11:44 am #17278584

rafaelF-23

It seems our corresponding file doesn't have the referenced code: $booking_order_ids = []; ....

July 29, 2025 at 1:10 pm #17279004

Laura
WPML Supporter since 05/2018

Languages: English (English ) Italian (Italiano )

Timezone: Europe/Rome (GMT+02:00)

Are you sure you're on version 5.5.1?

It's on line 1068, see screenshot.

Screenshot_20250729_150942.png