How to create Campaigns while having multilingual site- WPML ?
Let's learn how to create Campaigns for multilingual site in WPLoyalty.
WPLoyalty is compatible with multilingual plugins like WPML. While using WPML, we have to create separate Campaigns for each language separately.
For example: Let's say I have two language in my site. One is for English and another one is for French.
Now, let's see how to create Campaigns for these two languages.
Creating a Campaign for English:
Example scenario for English: Get 10 points for every $1 spent
Now, in this "Point for Purchase" Campaign, we have to add additional "Condition -> Language"
Creating a Campaign for French:
Example scenario for French: Get 20 points for every $1 spent
As you can see, based on creating Campaign's Language, we can add Campaign title and Campaign description in that specific Language itself and add additional conditions.
Since Campaign and Reward -> tile and descriptions are dynamic strings, translating these strings requires manual addition of adding the strings to .PO file, import it and then, you have to translate.
By creating Campaigns/ Rewards per language, we can avoid translating these dynamic strings. :)
Customers who purchase in English language -> English condition based Campaign/ Reward will only work and vice versa.
Likewise, we have to create Separate Rewards/ Campaigns for each language for every Rewards/ Campaigns we are creating.