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

  1. Go to General >> Settings.

  2. In Language Settings, select the preferred language.

language settings

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.

multi-language program

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 LanguageLanguage Format
Englishenglish
Frenchfrench
Italianitalian
Germangerman
Spanishspanish
Custom Language Onecustom language one
Custom Language Twocustom language two
Custom Language Threecustom language three
Custom Language Fourcustom 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

Language Customization

Language Customization

📘

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:

multi-language program

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.

Widget and Notifications

Widget and Notifications

User Dashboard

  1. Select the template for the user dashboard.

  2. Here you will see Guest View and Member View. For both, the language customization process is the same.

  3. Click on Edit Dashboard labels. From language drop down select preferred language.

User Dashboard

  1. This will change the language of the labels.

User Dashboard

Program Global Settings

You can change the language of the program globally by selecting the preferred language from the language drop down.

Program Global Settings

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

  1. During the setup of a campaign, you also configure the notification.

notification configuration

  1. When you create or edit the notification, you can select the preferred from the Language drop down.
Language drop down
  1. You can preview before making final changes in the notification and then Save.