1. Home
  2. Knowledge Base
  3. WooCommerce Product Add-Ons Ultimate
  4. Translating Add-Ons Ultimate with WPML
  1. Home
  2. Knowledge Base
  3. Translations
  4. Translating Add-Ons Ultimate with WPML

Translating Add-Ons Ultimate with WPML

You can translate Product Add-Ons Ultimate groups and fields using WPML. This article assumes you have WPML installed and you have some familiarity with it.

Translating product add-on groups and fields with WPML

Let’s walk through an example using English and French as our site’s languages.

Install WPML

First, we’ve already installed and configured WPML. Follow the steps here for more guidance.

We’ve set our default language to English with French as the second site language.

Create a product and add-ons

Now, create a product in English (or whatever your site’s primary language is). Add all your standard product information, like description, price and categories.

Then you can define your add-on fields. Follow the steps here to create your first add-on group and field.

Save or publish your product.

Translate the product and add-ons

Now you can translate the product and its extra fields. Click the ‘+’ icon in the ‘Language’ section.

WPML will create a new version of the product in your selected language, copying much of the product information, like price.

To add your translated field, go to the Product Add-Ons tab in the Product data section and add the translated versions of your extra fields.

Translating global add-ons with WPML

Global groups work slightly differently in Product Add-Ons Ultimate. By default, they are displayed on a single page and are not translatable.

In order to make your global groups translatable, you need to apply the snippet here. This will display global groups like any other post type.

You can then go to Product Add-Ons > Global Groups and add a new global group.

Enter your group details, like title and description, then set which products the group will be displayed on. There’s more information on creating global groups here.

Once you’ve set the group details, add your fields. Here’s a screenshot of an example group:

Note that ‘Make Groups translatable’ should be selected in ‘Multilingual Content Setup’.

Translating global groups

You can then create a translated version of your global group by clicking the ‘+’ icon in the ‘Language’ section.

You can then enter the translated version of the group details and add new fields for the translated product.

Was this article helpful?

Need More Support?

If you can't find the answer that you're looking for, then please use the link below to raise a support ticket.
Contact Support

Related Articles