WPLoyalty Knowledgebase
Back to WPLoyaltySupportMy Account
  • WPLoyalty Knowledgebase
  • Installation & Updates
    • Installation
    • Updates
    • License Key Validation
  • Quick Start Guides
    • Creating a Loyalty Points program
    • Creating a Referral Program
    • Creating a Customer Reward Page
  • Campaigns
    • Creating a Campaign
    • Campaign Types
    • Campaign Rules
    • Creating a Reward
  • Campaign Types
    • Points for Purchase
    • Reward for spending
    • Review Reward
    • Referral Campaign
    • Social Share Campaigns
    • Birthday Reward
    • Sign Up Reward
    • Social Pages Follow Campaign
    • Achievement Campaign
      • Custom Action
  • Reward Types
    • Points Conversion
    • Fixed Discount
    • Percentage Discount
    • Free Product
    • Free Shipping
  • Add-ons
    • WPLoyalty - Launcher
    • WPLoyalty - Points Expiry
    • WPLoyalty - Multi Currency
    • WPLoyalty - Discount Rule Integration
    • WPLoyalty - Judge.Me
    • WPLoyalty- Migration
      • Migration from WPSwings Points and Rewards
      • Migration from WooCommerce Loyalty Points & Rewards
      • Migration from WooCommerce Points and Rewards
    • WPLoyalty - Guest Referral
  • WPLoyalty - Brand Condition
    • WooCommerce Brands
    • Perfect Brands for WooCommerce
    • Page
  • WPLoyalty - Level Action
  • Customers, Levels & VIP
    • Creating Levels / Badges
    • Creating Tiered Levels / VIP Customer Rewards
    • Importing Customers and points
  • Translating WPLoyalty
    • Using LocoTranslate
    • Translating Dynamic Strings with LocoTranslate
    • Using WPML
    • Translate dynamic strings via WPML
    • Using TranslatePress
  • Guides
    • How does WPLoyalty work on websites with multiple languages ?
    • How to create user role specific campaigns in WPLoyalty ?
    • Purchase History conditions with examples
  • Settings
    • Display Settings
    • Customizing Emails for Points & Rewards Earned / Expiry
  • Developers
    • REST API with WPLoyalty PRO Plugin
Powered by GitBook
On this page

Was this helpful?

  1. Translating WPLoyalty

Translate dynamic strings via WPML

Learn how to add dynamic strings of WPLoyalty to the String Table of WPML and how to translate it

PreviousUsing WPMLNextUsing TranslatePress

Last updated 1 month ago

Was this helpful?

Why we developed WPLoyalty - Multi-Lingual Compatibility - Dynamic Strings addon plugin ?

At first, dynamic strings like Campaign/ Reward Title or Campaign/ Reward Description or strings from Launcher will be missing from WPML -> String Translation -> String Table.

To add such strings to the string table of WPML, we have introduced an add-on called “Multi-Lingual Compatibility - Dynamic Strings”. Using this addon plugin we can simply add dynamic strings in bulk to the string table of WPML and translate it easily in just a few clicks.

Installation of Multi-Lingual Compatibility - Dynamic Strings add-on plugin:

(Refer to “Installation of WPLoyalty - Multi-Lingual Compatibility - Dynamic Strings addon plugin” section)

Once the add-on plugin is installed and activated successfully, Navigate to: WPLoyalty -> Add-ons -> "WPLoyalty - Multi-Lingual Compatibility - Dynamic Strings” add-on plugin -> click “Open”

Now, you will be taken to the Multi-Lingual Compatibility - Dynamic Strings add-on plugin dashboard:

Now, let’s see the below steps in detail:

  • Adding Dynamic Strings to String Table of WPML using the add on “Multi-Lingual Compatibility - Dynamic Strings”

  • Translating the added dynamic strings using WPML

Step 1: Adding Dynamic Strings to string table using the add on Multi-Lingual Compatibility - Dynamic Strings: Example:

Let’s see how to add the below Reward title to the string table of WPML via the above add-on and translate it.

Reward title/ name - is the title we are giving while creating a Reward.

From the above screenshot, let’s see how to add the string “Redeem every 10 Points for $1” to the string table of WPML via Multi-Lingual Compatibility - Dynamic Strings add-on.

1: Navigate to WPLoyalty -> Add-ons -> "WPLoyalty - Multi-Lingual Compatibility - Dynamic Strings” add-on plugin -> click “Open”

2: From the dashboard of WPLoyalty - Multi-Lingual Compatibility - Dynamic Strings, click on the button “Update Dynamic String for WPML”

3: Navigate to WPML -> Theme and Plugins localization -> select the plugin “WPLoyalty - WooCommerce Loyalty Points, Rewards and Referral”

4: Scroll down and click on the option “Scan selected plugins for strings”

5: Once the scanning is done, we can notice that dynamic strings from WPLoyalty get added to the string table of WPML.

Step 2: Translating the added dynamic strings using WPML:

1. Go to WPML -> String Translation

2. Select WPLoyalty plugin in "in domain" section and after loading, you can search for the string (For example -> Reward title: “Redeem every 10 Points for $1” ) and click on the search option.

3. Then, you can add the translation for respective language (I'm translating the string to "French") by clicking on "+" symbol, add the translation and enter

Now, we have successfully translated the Reward Title to French. Likewise, we can translate all dynamic strings from WPLoyalty using the addon “Multi-Lingual Compatibility - Dynamic Strings”.

Note:

  • This "Multi-Lingual Compatibility - Dynamic Strings" add-on is completely free for WPLoyalty users.

Video:

This add-on plugin "" will work only if you are an user of plugin.

Still unclear ? Please submit a . We are always happy to assist you :)

Click here to know more about how to create Reward in step by step.
Multi-Lingual Compatibility - Dynamic Strings
WPLoyalty
support request
Click here to download the Multi-Lingual Compatibility - Dynamic Strings add-on.
Click here to know about how to install the Multi-Lingual Compatibility - Dynamic Strings addon.