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.

Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 -
- 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

This topic contains 9 replies, has 2 voices.

Last updated by Long Nguyen 1 year, 10 months ago.

Assisted by: Long Nguyen.

Author Posts
December 1, 2022 at 1:22 pm #12571087

janH-16

We have two languages on our site: NL and EN. We have one product which is duplicated to the secondary language (EN).
When my language is set to NL in the CMS and I navigate to the "All bookings" page from WooCommerce Bookings (/wp-admin/edit.php?post_type=wc_booking) from another page in the CMS the bookings page shows all the bookings with links to the WooCommerce order.
When I set the language to EN in the CMS and I navigate to the "All bookings" page I see bookings, but no links to WC orders.
I cannot switch language on the WC Bookings overview page.
When I click on a single booking, for example an English booking, and I switch to the other language, I can see that only the NL booking is linked to the WC order, but the EN copy is not.
This leads to confusion, because sometimes you access the bookings page when your language is set to EN, and sometimes it's set to NL. In both scenario's you see different bookings and in the case of EN you see no links to WC orders.

December 5, 2022 at 7:58 am #12588813

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi there,

Thank you for contacting WPML support, I'd be happy to help you on this issue.

The Booking page works like WooCommerce Order (in the admin area), if you switch the language from another page and go back to the booking page, it should display the same order with the translation product. But somehow in your case, it is not.

Please make sure that the booking product is translated completely then follow the steps below to enable the minimal environment to see if it helps.
- Deactivate all plugins except WPML, WooCommerce plugins
- Switch to a standard theme of WordPress (2022)

If it does not help, I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to a testing site where the issue is replicated. Your next reply is set to private to share the info.

❌ IMPORTANT: Please backup your database and website before proceeding ❌
You can use this plugin to do this: 
https://wordpress.org/plugins/duplicator/

Look forward to your reply.

Thanks

December 7, 2022 at 11:01 am #12605809

janH-16

"Please make sure that the booking product is translated"

Can you please explain how I check this since it is a duplicate?

I will go and check the plugins.

December 7, 2022 at 11:41 am #12606307

janH-16

I switched to the Twenty Twenty Two theme and deactivated all plugins, except the ones in the attached screenshot but the issue still persists.

Plugins-‹-Operation-Exit-—-WordPress.png
December 8, 2022 at 4:15 am #12611593

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

Thanks for your feedback.

I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to a testing site where the issue is replicated. Your next reply is set to private to share the info.

❌ IMPORTANT: Please backup your database and website before proceeding ❌
You can use this plugin to do this:
https://wordpress.org/plugins/duplicator/

Look forward to your reply.

Thanks

December 13, 2022 at 1:31 am #12638327

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

Thank you for the feedback.

I see there are some bookings that have links to the WooCommerce orders when I switch to the English language, it does not disappear then. I've also created a test booking with the product "Reserveren" but still do not see the issue. Please check my screenshot hidden link

Can you please check this issue on your site and see if it works? Or share some screenshots of the issue if it still happens on your end.

Look forward to your reply.

Thanks

December 14, 2022 at 8:37 am #12647495

janH-16

Below are the details of a booking made last Tuesday. The time slot of this booking, 20 December at 19:00, is no longer available in the Dutch booking calendar, but is still in the English booking calendar. So this slot can be double booked.

C** van W***
20 December 19:00
Booking number: 70631 / 70633

hidden link
hidden link

December 14, 2022 at 10:33 am #12648465

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

Thank you for the feedback.

So I understand the issue with the booking that has a link to the order on the All Bookings page is resolved. Now you have another issue when the time slot is still displayed in the English language even the slot is booked in the Dutch language.

I see that issue and I think there is an issue with WPML database so I deactivate WPML then re-activate it. And go to WPML > Support > Troubleshooting > Click on some buttons:
- Clear the cache in WPML
- Remove ghost entries from the translation tables
- Fix element_type collation
- Fix WPML tables collation
- Fix post type assignment for translations

Now the time slot 19:00 does not display in the English language. Can you please confirm it works on your side?

Look forward to your reply.
Thanks

December 23, 2022 at 8:57 am #12705175

janH-16

Thank you Long. I have executed the steps in the production environment and we will monitor if it is resolved.

December 26, 2022 at 12:40 am #12711509

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

Let me know if you have any questions.

Regards.

The topic ‘[Closed] WooCommerce Booking overview does not show WC order links in second language’ is closed to new replies.