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
- 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: Europe/Vienna (GMT+01:00)

Tagged: 

This topic contains 7 replies, has 0 voices.

Last updated by Lucas Vidal de Andrade 11 minutes ago.

Assisted by: Lucas Vidal de Andrade.

Author Posts
December 8, 2025 at 9:57 am

tsvetanT

Hello, Bulgarian is main language. English is secondary. Translated all. When on product page cannot add to cart variation.

December 9, 2025 at 10:43 am #17646880

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English )

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

Hey there,

Thank you for waiting. I checked a few things on the website, but couldn't get the plugin to work properly on translated pages. Again, this likely is a compatibility issue between the Buy Once or Subscribe for WooCommerce Subscriptions and WPML.

To verify that, I've created a Sandbox (a testing website), with the needed WPML plugins and WooCommerce setup. You can access it here:

hidden link

Please install the Buy Once or Subscribe for WooCommerce Subscriptions, setup one product that uses it, and translate the product. The idea is to test in isolation, so only one product is enough to test. Please don't import or create other unnecessary content. Let me know if the behavior is the same there.

I know this takes some effort, so thanks in advance for your cooperation on this matter.

December 9, 2025 at 1:14 pm #17647764

tsvetanT

Hello, thank you, I've set the product here: hidden link

December 10, 2025 at 8:51 am #17650633

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English )

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

Thank you for sharing. The result was the same, which indicates that this plugin is not WPML compatible, at first. I've escalated this ticket to our 2nd tier team, to see if they can find any workaround.

This might not be possible, and might depend on the WooCommerce's team collaboration. I'll keep you updated.

December 11, 2025 at 1:53 pm #17656289

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English )

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

Hey there,

Our developers have come up with a solution that's a bit complex, and needs proper testing before being applied. Basically, the Buy Once or Subscribe for WooCommerce Subscriptions plugin is fully incompatible, and ignores the existence of secondary languages on the website. The solution involves changes in core files from this plugin, and that's what I'll test.

I'll download a copy of the website to make the proper tests and report them to our devs. I'll keep you updated. I'll likely bring new information tomorrow. Thank you for your patience so far.

December 12, 2025 at 2:32 pm #17659616

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English )

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

Hello there,

I've tried in different ways to download a copy of the website, but I couldn't make it run locally. I got errors consistently.

To be able to further troubleshoot this issue without harming your live website, I need you to please create a staging (testing) version of it, preferably in the same server. You can use a plugin like WP Staging to do so.

You can keep the same user there, so it's not necessary to share credentials again. I know this takes some effort, so thanks in advance for your cooperation on this matter.

December 15, 2025 at 2:47 pm #17664741

tsvetanT

Hello,
Thank you, here is the staging website:

hidden link
[removed by support]

December 15, 2025 at 3:41 pm #17665096

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English )

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

Hello there,

Thank you for sharing. The solution involves changing a few core files from the Buy Once or Subscribe for WooCommerce Subscriptions plugin, so it that it handles the multilingual products as expected. Please ensure to have a backup, and follow these steps:

1. Go to WPML > Settings > Custom Fields Translation and click on "Show system fields";
2. Search for "_bos4w_saved_variation_subs" and set the result to Copy. Save;
3. Search for "bos4w_use_variation_fixed_price_" and change all the results to Copy. Save;
4. Replace the entire code of the file content/plugins/buy-once-or-subscribe-for-woocommerce-subscriptions/functions/class-bos4w-front-end.php with the corresponding file's code in the link below;
5. Do the same for 'class-bos4w-cart-options.php';
6. Make a small change on the original product that has the issue, so that the solution is applied to it;
7. Update its translation;

I've applied the solution to your staging website, and recorded the steps for you, so you can visualize better how the solution is applied:
hidden link

Also note that after that, you can translate the plugins strings in WPML > String Translation. They're under the domain "bos4w"

You can find the files with the proper code here:
hidden link

Please let me know how it goes.