Consent banner and declaration language settings

You can create an unlimited number of different language versions (“langauge variants”) of the Consent Dialog under the “Content”-section in the Cookiebot Manager. Add a new variant by clicking the plus-sign next to the language tab.


The default language variant (selected in the corresponding dropdown list as illustrated above) will be shown to all users unless you configure one of the following options:

If you check “Auto-detect user language” in the Cookiebot Manager, Cookiebot will automatically detect the individual users preferred language and show the dialog in this language if you have created a matching language variant. If not, Cookiebot will show the default language to the user.

You can lock the consent dialog to a specific language that will be shown to all users by adding the attribute data-culture to the Cookiebot script embedded in your website, setting the value of the attribute to the two-letter ISO language-code that appears in the tab-title of the language variant you have created. This practice is appropriate in a scenario where you operate multiple language versions of your website and want to make sure that the consent dialog and cookie declaration always shows in the same language as the current language version of your website. Each language version of your website must embed the Cookiebot script with a matching data-culture-attribute. Using this attribute overrides the configuration of default language and auto-detect. Example: Always show the consent dialog in Spanish:

<script id="Cookieconsent" data-culture="ES" src="https://consent.cookiebot.com/uc.js" data-cbid="00000000-0000-0000-0000-000000000000" type="text/javascript" async></script>

You can use the same method with the Cookie Declaration script, eg.:

<script id="CookiePolicy" data-culture="ES" src="https://consent.cookiebot.com/00000000-0000-0000-0000-000000000000/cd.js" type="text/javascript" async></script>

30 day free trial Cookiebot

Cookie scanner, cookie banner, cookie declaration en cookie consent in one solution.

  • Use cookies on your website compliant with GDPR, ePrivacy and cookie legislation
  • Cookie management completely automated
  • Cookie banner based on your corporate identity
  • Automatic composed cookie declaration, always up to date

The Cookiebot solution runs on 500,000+ websites, manages 13 billion User Consents and supports 40+ languages.