The WooCommerce Subscription extension allows you to create products that customers can subscribe to and it enables you to charge them weekly, monthly, or yearly. It is also fully compatible with WooCommerce Multilingual, which enables you to translate all names and labels related to the subscriptions.
To be able to customize and translate subscription-type products, you will need the following plugins to be installed and active on your site:
- WooCommerce Subscriptions
- WooCommerce Multilingual
- WPML String Translation
- WPML Translation Management
- WPML Media
Translating strings related to subscriptions
The WooCommerce Subscription extension allows you to add complex subscription products but adds only a small amount of new content (strings) to your store’s front-end. This includes labels for recurring payments, the Sign Up Now button, and strings on the Cart page.
All the strings related to WooCommerce Subscription are translated from the WPML -> String Translation page. At the top of the page, under the Select strings within domain section, use the drop-down menu to select the woocommerce_subscriptions domain.
Domains are a way of organizing all the strings you wish to translate with WPML. Selecting the specific domain helps us to easily find the subscription-related strings. When you do this, a list of all strings related to this domain will appear.
Besides selecting a domain, you can use the Search for field to find the exact front-end string you want to translate.
Click the translations link for the string that you want to translate and use the dialog box that appears to do so for the corresponding languages. Make sure to select the Translation is complete option for each string before saving the final translation.
Once you have finished translating all your product add-ons, you should observe the results on the front-end. When you visit your products in one of the other languages, all of the add-on options and labels should be translated.