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 | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
...
Usercentrics follows a certain hierarchy to determine which language value should be used to display your CMP. The hierarchy is as follows:
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)
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)
lang-attribute on <html> tag (e.g.
<html lang=”language_code”>
is integrated on the website)the user’s browser language
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.
...