Adding the Preferred Language to the User Profile

A new contact profile has a language field that indicates the contact language. There are several ways to fill it for existing and new contacts.

How to Add the Language for Existing Contacts

There are three ways to fill the Language field in the contact profile.

  1. Add the preferred language via the contact import unless such information has been added to the system before. For map to the system, the language field should be filled according to the international format of RFC 5646 Language Tags.

For example:

  • "es," "en";
  • "es-AR" (Spanish, Argentina), "en-US" (English, USA).
  1. Update the collected data. For companies that have previously recorded the language of their subscribers, it is enough to adjust the language to the above requirements so that the system can map it correctly. To download updates, export the database and then import the updated file.

  2. Get the language from the browser. Based on the subscriber’s interaction with the campaign, the system records the browser language and inserts it in the language field.

  3. Change data manually. You can edit the language field in the user profile, regardless of how it was added.

📘

Important

  1. Changes made manually would always rank higher than the info automatically collected by the system.

  2. In case the language field for the contact has already been filled, the system will not replace the existing data. The browser language would only be recorded for the empty field, and the previously added data is saved by default.

During the import, the data is always updated (replaced)!

How to Add the Language for New Contacts

By default, the language field is filled for all new contacts via:

  1. Transfer of the API languageCode parameter by the subscribe method.

  2. Data collection by the system based on the browser language.
    You can ask the customer to specify the preferred language in the subscription form, a survey, or their website profile.