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:
You can use the same method with the Cookie Declaration script, eg.: