Learn how to use WPML and WooCommerce Multilingual to translate product-specific and global add-ons created with WooCommerce Product Add-Ons.
Required Plugins
Start by installing and activating the following plugins:
- WooCommerce
- Product Add-Ons
- WPML
- WPML String Translation
- WooCommerce Multilingual
How to Translate Per-Product Add-Ons
To translate per-product add-ons, just send the product for translation:
- Go to WPML→ Translation Management and scroll to the Products section.
- Select the product with the assigned per-product options.
- Choose a translation method and then click to Translate your content.
WPML will automatically translate your per-product add-ons along with your product.
How to Translate Global Add-Ons
To translate global add-ons:
- Go to WPML → Translation Management and scroll to the Other texts (Strings) section.
- Filter by the wc_product_addons_strings domain.
- Select the strings you want to translate and send them for translation.
If you don’t see the fields from a global add-on group in Translation Management, go to Products → Add-ons, edit the add-on group, and resave it. When you return to the Other texts (Strings) section in Translation Management, you should see the global add-on fields there for you to translate.
How to Set Custom Prices for Product Add-ons in Multiple Currencies
In a multi-currency store, WooCommerce Multilingual automatically calculates prices for product add-ons in other currencies. If you prefer, you can manually set custom prices for both per-product and global add-ons in each currency.
Setting Custom Prices for Per-Product Add-ons
To change the currency settings for per-product add-ons:
- Edit the product and in the General section, choose Set prices in other currencies manually.
- Switch over to the Add-ons section and click the pencil icon next to each option to add your custom prices in other currencies.
Setting Custom Prices for Global Add-ons
To change the currency settings for global add-ons:
- Go to Products → Add-ons and edit the add-on group.
- In the Multi-currency settings section, enable the option to Set prices in other currencies manually.
- Click the Pencil icon next to your options to manually set the prices in each currency.