Links

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 - dynamic string translation 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 “Dynamic String Translation”. 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 Dynamic String Translation add-on plugin:
Click here to know about how to install the Dynamic String Translation addon. (Refer to “Installation of WPLoyalty - dynamic string translation addon plugin” section)
Once the add-on plugin is installed and activated successfully, Navigate to: WPLoyalty -> Add-ons -> "WPLoyalty - dynamic string translation” add-on plugin -> click “Open”
Now, you will be taken to the dynamic string translation 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 “Dynamic String Translation”
  • Translating the added dynamic strings using WPML
Step 1: Adding Dynamic Strings to string table using the add on Dynamic String Translation: 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 Dynamic String Translation add-on.
1: Navigate to WPLoyalty -> Add-ons -> "WPLoyalty - dynamic string translation” add-on plugin -> click “Open
2: From the dashboard of WPLoyalty - Dynamic string translation, 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 “Dynamic String Translation”.
Note:
  • This add-on plugin "Dynamic String Translation" will work only if you are an user of WPLoyalty plugin.
  • This "Dynamic String Translation" add-on is completely free for WPLoyalty users.
Still unclear ? Please submit a support request. We are always happy to assist you :)