Skip to main content
Version: Current

Overriding Language

The copy used in embedded landing pages is localized based on the territory being loaded. The language in which your landing page is displayed can be overridden from the default language by providing an extra attribute to the <beansid-landing-page>.

Take the below as an example:

<beansid-landing-page
slug="your-slug"
territory="fr"
></beansid-landing-page>

This would load in an embedded landing page for France, which by default would be in French. We can override this so that the embedded landing page displays in another language of our choosing by doing as follows:

<beansid-landing-page
slug="your-slug"
territory="fr"
language="de-de"
></beansid-landing-page>

By providing a data-language attribute we override the default language, in this case to German (de-de).

The long-code for the language you want your landing page to display in should be used as the value for language. A full list of supported languages and their corresponding long-codes can be found here.

info

Only copy that is part of the application will be translated into the overridden language. Any copy you have provided for your offer(s) (e.g. Offer Title, T&Cs etc) will remain as you have provided them to us.