Translate dynamic strings via WPML
Learn how to add dynamic strings of WPLoyalty to the String Table of WPML and how to translate it
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.
Click here to download the Multi-Lingual Compatibility - Dynamic Strings add-on.
Installation of Multi-Lingual Compatibility - Dynamic Strings add-on plugin:
Click here to know about how to install the Multi-Lingual Compatibility - Dynamic Strings addon. (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.
Click here to know more about how to create Reward in step by step.
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 add-on plugin "Multi-Lingual Compatibility - Dynamic Strings" will work only if you are an user of WPLoyalty plugin.
This "Multi-Lingual Compatibility - Dynamic Strings" add-on is completely free for WPLoyalty users.
Video:
Still unclear ? Please submit a support request. We are always happy to assist you :)
Last updated