In this article, we will cover how to dynamically present translations of your Anti-Adblock Message to end-users based on their default browser language.
To start, navigate to or create an Anti-Adblock Message on a property.
From the Home view of the Anti-Adblock Message builder, navigate to the Settings panel on the right-hand side and expand the Language accordion.
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 Anti-Adblock Message.
The Supporting Language field 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 Anti-Adblock Message dynamically surface the appropriate translations based on an end-user's default browser language.
With the language settings for the Anti-Adblock 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:
Click the component and expand the Content accordion in the Settings pane.
Select a supported language from the Language field.
Input the translation of the text in the Text field.
Repeat as necessary for other supported languages.
Continue translating every text component into the supported languages.