Dynamic language support (custom message)

In this article, we will cover how to dynamically present translations of your custom message to end-users based on their default browser language.


Custom message language settings

To start, navigate to or create a custom message on your property.

Screen_Shot_2021-10-25_at_3.05.59_PM.png

From the Home view of the custom message builder, navigate to the Settings panel on the right-hand side and expand the Language accordion.

Screen_Shot_2021-10-04_at_11.42.56_AM.png

Field Description
Default Language

Defines the language that will appear by default for your end-users. That is, if the end-user's browser default language is not supported and a language translation is not provided, the end-user will see all content in your default language.

Use the provided dropdown menu to select your default language for the custom message.

Supporting Language

Allows you to add all the languages you plan to support with your uploaded translations.

  Note: Ensure that your default language is also added to the Supporting Language field.

Use Browser Default Toggle this feature ON in order to have the custom message dynamically surface the appropriate translations based on an end-user's default browser language.

Screen_Shot_2021-10-04_at_2.33.39_PM.png


Provide translation to components

With the language settings for the custom message configured, your organization can now upload translations for each text component (and components with text fields such as buttons).

Uploading a translation for any text will follow the same process:

  1. Click the component and expand the Content accordion in the Settings pane.
  2. Select a supported language from the Language field.
  3. Input the translation of the text in the Text field.
  4. Repeat as necessary for other supported languages.

gif.gif

Continue translating every text component into the supported languages.

Screen_Shot_2021-10-04_at_3.03.14_PM.png

 

 

 

Was this article helpful?
0 out of 0 found this helpful