# How does WPLoyalty work on websites with multiple languages ?

WPLoyalty works seamlessly on websites with multiple languages and is fully compatible with multilingual plugins such as WPML.&#x20;

When generating campaigns or rewards with [WPLoyalty](https://wployalty.net/), we can create them based on the default language of the website and use translation plugins like Loco Translate or WPML to translate static or dynamic strings (like campaign titles or descriptions) into other languages.

**For example**, if your website's default language is English and you have a multilingual store in French, you can create a campaign in English using WPLoyalty and translate it into French using plugins like Loco Translate or WPML.<br>

**This document will provide a detailed explanation of the following steps:**

* Creating Campaigns/Rewards in a multilingual site.
* Adding dynamic strings from Campaigns/Rewards to translation plugins such as Loco Translate/WPML using the "Multi-Lingual Compatibility - Dynamic Strings" addon and translating it.&#x20;

Let's explore each of these steps in detail below.

{% hint style="info" %}
Make sure you have already installed and activated the WPLoyalty plugin. Please note that some of the features explained in this doc are available only in the PRO version. Do More with the PRO Version.&#x20;

[Get WPLoyalty PRO](https://wployalty.net/pricing/)
{% endhint %}

Let’s get started,&#x20;

**Step 1: Creating Campaigns/Rewards in a multilingual site**

In this first step lets see how to configure a Campaign using the “Point for Purchase” campaign in a multilingual site that offers customers with 1 point for each dollar spent, meaning they will earn 2 points for spending $2 and so on.

\
To create such campaign,&#x20;

* Go to WordPress dashboard -> WPLoyalty -> Campaigns tab -> Click on “Create New Campaign” button.
* Choose “Point for Purchase” Campaign as the Campaign type.

[To learn the step-by-step process for creating a Point for Purchase Campaign, click here. ](https://docs.wployalty.net/campaign-types/points-for-purchase)

\
**Here is the screenshot of the campaign configuration that follows,**

<figure><img src="https://103140889-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FS9c8SKH3fobHhx7SjaLW%2Fuploads%2FbcwyhXWrjNH0qDaQhQVQ%2Fscreenshot-localhost-2023.05.08-17_40_51.png?alt=media&#x26;token=fe24b2f5-6bf6-482b-8b13-e41e49a18930" alt=""><figcaption></figcaption></figure>

**Step 2: Use the "Multi-Lingual Compatibility - Dynamic Strings" addon to add dynamic strings from campaigns or rewards to Loco Translate or WPML for easy translation of campaign titles and descriptions.**

In the above campaign dynamic strings are:

* Campaign Title - Earn 1 Points for every $ spent
* Campaign Description - Earn 1 point for $1 spent, 2 point for $2 spent and so on…

To translate these dynamic strings, we need to download, install, and activate the "Multi-Lingual Compatibility - Dynamic Strings" addon.

[**Click here to download the Multi-Lingual Compatibility - Dynamic Strings addon.** ](https://wployalty.net/add-ons/multi-lingual-compatibility/)

**After installing and activating the "Multi-Lingual Compatibility - Dynamic Strings" addon:**&#x20;

* [Click here to know about how to translate dynamic strings using Loco Translate ](https://docs.wployalty.net/translating-wployalty/translating-dynamic-strings-with-locotranslate)
* [Click here to know about how to translate dynamic strings using WPML](https://docs.wployalty.net/translating-wployalty/translate-dynamic-strings-via-wpml)
* [Click here to know about how to translate dynamic strings while using TranslatePress](https://docs.wployalty.net/translating-wployalty/using-translatepress)

Similarly for Rewards too, we can generate rewards based on the default language of the site and translate them using translation plugins such as Loco Translate or WPML.&#x20;

{% hint style="info" %}
If you want more advanced features, consider buying WPLoyalty PRO.&#x20;

[Get WPLoyalty PRO ](https://wployalty.net/pricing/)&#x20;
{% endhint %}

**Next Steps:**

You may also want to check out these helpful guides:

* [Discover how to create a straightforward Point Conversion Reward by clicking here.](https://docs.wployalty.net/reward-types/points-conversion)
* [Explore our Launcher Widget, a unique feature, by learning more about it.](https://docs.wployalty.net/add-ons/wployalty-launcher)
* [Find out about WPLoyalty's Level feature by clicking here.](https://docs.wployalty.net/customers-levels-and-vip/creating-levels-badges)
* [Click here to learn about providing distinct rewards to customers in different levels.](https://docs.wployalty.net/customers-levels-and-vip/creating-tiered-levels-vip-customer-rewards)
* [If your website supports multiple currencies, click here to understand how WPLoyalty operates in such cases.](https://docs.wployalty.net/add-ons/wployalty-auto-currency)

#### Still Clear ?

If you need any assistance, please create a [support request ](https://wployalty.net/support/)at our ticket system. We are always happy to assist you :)
