Set language per user
When configuring your CMP, you can select the language in which the UI will be surfaced to users. By default it is set to Browser language which enables an automatic detection so the UI is always surfaced in a language the user understand.
If you manage the language preferences of your users directly on your site, you can also set the language of the CMP for each of them. To do so, you must modify your tag by adding the language code (lang parameter) to the URL of the cmp script.
1
https://choices.consentframework.com/js/pa/12345/c/abCdE/cmp?lang=[code]
Copied!
You can find below the code to enter for each available language in the CMP:
  • French : fr
  • English : en
  • German : de
  • Italian : it
  • Spanish : es
  • Portuguese : pt
  • Dutch : nl
  • Bulgarian : bg
  • Czech : cs
  • Greek : el
  • Polish : pl
  • Norwegian : no
  • Romanian : ro
  • Swedish : sv
  • Danish : da
  • Hungarian : hu
Example
1
<script type="text/javascript" src="https://cache.consentframework.com/js/pa/12345/c/abCdE/stub" charset="utf-8"></script>
2
<script type="text/javascript" src="https://choices.consentframework.com/js/pa/12345/c/abCdE/cmp?lang=en" charset="utf-8" async></script>
Copied!
Last modified 7mo ago
Copy link