Setting the language of the consent dialog

Please note that this is no longer being updated. Kindly visit the new Cookiebot support area ( for updated guides, articles and FAQs. If you do not find the answer to your question there, you are welcome to post it in the Cookiebot community (

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:

  1. 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.

  2. 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 deklaration 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="Cookiebot" data-culture="ES" src="" 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="CookieDeclaration" data-culture="ES" src="" type="text/javascript" async></script>

Feedback and Knowledge Base