The standard template text for the cookie consent banner is currently available in 46 different languages. All languages are supported by Cookiebot and you can easily add any additional languages beyond these existing templates.
How to add languages?
You can create an unlimited number of different language versions ("language variants") of the Consent Dialog via "Settings" -> "Content" tab in your Cookiebot Manager. Add a new language 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 user's preferred browser 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.
- Situation 1: You added English as a banner language.
The users browsers language is set to English.
Upon visiting the website, the user will be presented with the English banner.
- Situation 2: You added English as the default banner language, but have not added French as a banner language.
The users browsers language is set to French.
Upon visiting the website, the user will be presented with the (default) English banner.
- Situation 3: You have added English as the default banner language, but have also added French as a banner language.
The user browser language is set to French.
Upon visiting the website, the user will be presented with the French banner.
How to lock the language per subdomain?
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:
How to lock the language by subdirectory?