Setting-up a multi-language program
In this document, learn how to set-up multi-language program for Zinrelo.
Zinrelo has always been focused on creating personal and meaningful experiences for its global audiences. If you create content in multiple languages for your customers, you can set up the loyalty program in multiple languages too.
By activating this feature with Zinrelo, you can present a loyalty program to your customers that matches the store’s default language for enhanced localization.
How to activate Zinrelo’s Multi-Language Feature
-
Go to General >> Settings.
-
In Language Settings, select the preferred language.
Note: Zinrelo currently supports up to 7 languages. We have defaults in place for English, French, German, Spanish and Italian languages.
You can set one language as the default. If Zinrelo doesn’t have the customer’s language preference, the content is displayed in the default store language.
Setting customer’s language
The customer’s preferred language can be passed to Zinrelo through the basic integration and authentication Javascript. (See the sample script below for details)
<script type="text/javascript">
window._zrl = window._zrl || [];
var init_data = {
'partner_id' : '22ee49123b',
/*REQUIRED: Partner ID*/
'email' : '[email protected]',
/*REQUIRED: When User is Logged in.For Non-Logged in users,
pass an empty string ('')*/
'name' : 'User Name',
/*REQUIRED: When User is Logged in.For Non-Logged in users,
pass an empty string ('')*/
'user_id' : 'Unique-user-ID',
/*REQUIRED: When User is Logged in.For Non-Logged in users
and guest users who DO NOT have an account, pass an empty
string ('')*/
'ts' : 'Current TimeStamp in epoch format',
/*REQUIRED : Timestamp in epoch format'*/
'language' : 'French',
/*REQUIRED: When User is Logged in.For Non-Logged in users
and guest users who DO NOT have an account, pass an empty
string ('')*/
'access_token' : 'acafb9c8d189b55671b5956bd75b33ee2e982b89ef42f3b26421f6d8f7fe4872'
/*REQUIRED : 'SHA256 hash of the string formed by concatenating
- user_id, email,partner_id, api_key and ts - in the same
order as mentioned' */
};
_zrl.push( [ 'init' , init_data ] );
</script>
<script src="//cdn.zinrelo.com/js/all.js" type="text/javascript"></script>
Note: If an empty string is passed for language then the default language will be set for the member.
The language preference can also be set using the Create a Loyalty Member API.
Once you are done with language setup, you can customize the text of the end-user loyalty program dashboard.
Language Customization
You can customize the text of the end-customers facing elements into any preferred language. For this, you can select the preferred language from the drop down which you see in the text configuration setting dashboard. This setting can be done for:
- Activities
- Rewards
- Tiers
- Point Expiration
- Notifications
Note: While translating the text do not translate the text in the double curly brackets '#{{ }}' as they are part of the code. Refer to the screenshots attached below for better understanding:
You can also customize the language of the following tabs:
- Design
- Program Global settings
- Campaign
Design
In design, you can configure:
- Widget and Notifications
- User Dashboard
Widget and Notifications
You can select preferred language from the drop down and make the widget available for the end user visible in their language.
User Dashboard
-
Select the template for the user dashboard.
-
Here you will see Guest View and Member View. For both, the language customization process is the same.
-
Click on Edit Dashboard labels. From language drop down select preferred language.
- This will change the language of the labels.
Program Global Settings
You can change the language of the program globally by selecting the preferred language from the language drop down.

This will change all editable text from Loyalty settings, end-user opt out feature to end user block messages into preferred language.
Campaign
- During the setup of a campaign, you also configure the notification.
- When you create or edit the notification, you can select the preferred from the Language drop down.

- You can preview before making final changes in the notification and then Save.
Updated 3 months ago