Setting-up a multi-language reward 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.
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.
Note: The default fields will be provided exclusively in English, and it is configurable. You have the flexibility to translate the text into your preferred language for all fields.
To know more about language customization, refer to this section of the help document.
Please Note:
In the event that an Admin has completed translations for an enabled language and subsequently disables it by unchecking it from the General Settings, all translations for that specific language will be lost. Consequently, if the same language is re-enabled in the future, the Admin will be required to undertake the translation process once again.
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.
To ensure the correct language mapping, specify the preferred language in the 'language' field of the JavaScript code using small caps. Please refer to the provided table for language mapping:
Preferred Language | Language Format |
---|---|
English | english |
French | french |
Italian | italian |
German | german |
Spanish | spanish |
Custom Language One | custom language one |
Custom Language Two | custom language two |
Custom Language Three | custom language three |
Custom Language Four | custom language four |
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
Please Note:
Regardless of the language you choose, the default fields will be exclusively provided in English. However, you have the flexibility to translate the text into your preferred language for all fields. This allows you to customize the content according to your language preferences, ensuring a seamless and localized experience for your customers.
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.
Please Note:
We don't support html text in "End User Opt-Out Message.
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 9 months ago