Gift cards are a powerful tool for boosting sales in any WooCommerce store. The WebToffee WooCommerce Gift Cards plugin offers a robust, user-friendly solution to set up gift cards. If you serve an international audience, translating WooCommerce Gift Cards with WPML ensures a seamless multilingual experience
In this article, we’ll detail how to configure and translate WebToffee WooCommerce Gift Cards with WPML, covering everything from automatic and manual translation of plugin strings to translating the dynamic content on your gift card product pages.
Prerequisites
To translate WooCommerce Gift Cards with WPML, first install and activate the WebToffee WooCommerce Gift Cards plugin and the WPML String Translation add-on.
WebToffee WooCommerce Gift Cards
- Install and Activate the WebToffee WooCommerce Gift Cards plugin.
- Create the Gift Card Products you want in your store (these products will be translated later).
Need help setting up your first gift card product? Refer to:
>> How to add a Gift Card as a product to a WooCommerce store
WPML Plugins
- Install and Activate the WPML Multilingual CMS core plugin.
- Install and Activate the WPML String Translation add-on.
The WPML String Translation add-on is critical for translating the text strings within the WebToffee WooCommerce Gift Cards plugin.
>> New to WPML? Check out “Getting Started with WPML” to learn more.
Built-In Plugin Languages
WebToffee WooCommerce Gift Cards comes pre-translated into these languages:
- Arabic
- German
- Spanish
- French
- Italian
- Dutch
When you switch your site language to any of these, the plugin’s static content automatically displays in the chosen language. However, if you wish to:
- Add another language that isn’t in the list
- Update existing translations
- Translate dynamic text inside the plugin
you’ll need to use WPML’s translation tools to handle the rest (including any dynamic content on the gift card product pages).
Translating the Plugin Strings
This section covers how to translate the WebToffee WooCommerce Gift Cards plugin strings—either automatically with AI or manually.
Any newly added or dynamic text on the gift card product page won’t automatically be translated, which we’ll address in subsequent steps.
Step 1: Scan the Plugin for Strings
- In your WordPress dashboard, go to WPML > Theme and Plugins Localization.
- Scroll to Strings in themes, plugins, and WordPress.
- Find WebToffee WooCommerce Gift Cards in the list and check its box.
- Scroll down and click Scan selected components for strings. WPML will scan the plugin and add all available strings to the translation system.

Step 2: Translate the Strings
Option A: Automatic Translation with AI
- Go to WPML > Translation Management.
- Clear any top-level filter so you can see all website strings.
- Scroll down to Other texts (Strings) and, under the section filter, select
wt-woocommerce-gift-cards. - Choose all the strings or the strings you wish to translate, then click Translate your content.


- Under Translation settings, set Translate automatically as your translation method, choose a review option, and click Translate.

All selected strings are now translated into your chosen languages in one go using AI.
Option B: Manual Translation
- Go to WPML > String Translation.
- Under the filter, select
wt-woocommerce-gift-cardsand click Filter.

- A list of all translatable strings from the plugin appears.
- Find the string you want to translate/update and click the “+” icon under the relevant language column.

- Enter your translation in the dialogue box.
- Press Enter or click outside the box to save.

- Repeat for any additional languages or strings as needed. Once done, all selected strings will be translated to the language chosen on switching the site language.
Translating WooCommerce Gift Card Products
Translating gift card product pages usually involves:
- Translating the product title and descriptions.
- Translating dynamic content on the product page (such as headings, labels, or any custom text).
Any other static content on the page will be translated automatically if the plugin supports it, or while you translate the strings in the plugin.

Step 1: Translate Name and Description
- In your WordPress dashboard, go to WPML > Translation Management.
- Under Products, select the gift card products you need to translate.
- Click Translate your content.

- Under Translation settings, set Translate automatically as your translation method, choose a review option, and click Translate.

Once complete, translated versions of your gift card products (title and description) will be published in your store for all chosen languages.


Step 2: Translate Dynamic Content
If your gift card pages include dynamic text (such as headings, labels, or any custom text that can be edited), follow these steps:
- After editing any dynamic content(such as gift card product page title), re-scan your plugin for strings using the method above (in WPML > Theme and Plugins Localization).
- Go to WPML > String Translation.
- Under the filter, select
admin_texts_wt-woocommerce-gift-cards_gift_cardand click Filter. - Select the strings you wish to translate and click Translate your content.

- Choose Translate Automatically (or translate manually) as your method.
- Click Translate.

That’s it—your dynamic content is now reflected in each target language.

