Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This section gives an overview about how to set a language of the Usercentrics CMP version2. In particular, this article explains the Strict and Automatic mode of setting languages and shows the way of their implementation.

Overview

Table of Contents
minLevel1
maxLevel7
indent20px
absoluteUrltrue
stylecircle

...

Usercentrics follows a certain hierarchy to determine which language value should be used to display your CMP. The hierarchy is as follows:

  1. CDCS Local Storage (the user’s language preferrence is transferred from another website that is connected to the current website via Usercentrics' Cross-Domain-Consent-Sharing iFrame)

  2. Website Local Storage (the user’s language preferrence is already stored in the local storage of the current website because he/she has visited the page before)

  3. lang-attribute on <html> tag (e.g. <html lang=”language_code”> is integrated on the website)

  4. the user’s browser language

  5. Default Visible Language as set up in the Admin-Interface if the user’s browser language is not part of the preselected language set.

The language that the CMP chooses will be written into the local storage of the website and any Usercentrics element will be displayed in that language to the user during future visits.

...