This thread is resolved. Here is a description of the problem and solution.
Problem:
When using the All Products for Subscriptions plugin with WPML, the product category selector is empty in the secondary language dashboard, causing issues with global subscription plans across multiple languages.
Solution:
We recommend adding a custom XML configuration to ensure the category settings are translated automatically, eliminating the need for manual translation. Follow these steps:
1. Navigate to WPML → Settings → Custom XML Configuration in your WordPress dashboard.
2. Insert the following XML configuration and save:
<wpml-config>
<admin-texts>
<key name="wcsatt_subscribe_to_cart_categories">
<key name="*" type="taxonomy-ids" sub-type="product_cat"></key>
</key>
</admin-texts>
</wpml-config>This configuration will translate the category IDs at runtime, allowing the category dropdown to function correctly in multiple languages, even though it appears empty in the backend.
Please note that this solution might become outdated or may not apply to your specific case. We highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If this solution does not resolve your issue, please open a new support ticket.
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.
This topic contains 2 replies, has 0 voices.
Last updated by 3 weeks, 5 days ago.
Assisted by: Dražen.

