When a user comes to your website, your banner will match the language of the user's browser and, not the language of your website. It's the behavior by default (see Languages section in the "Look & feel" step)
You can change this setting and choose to keep the language of your website on your banner, regardless of the user's browser language.
Here is the process:
- Go to the web page's source code where you want to force the language (you'll be looking for the index.html file or equivalent)
- Insert the element didomiConfig.languages, before the Didomi's SDK script
- Add the enabled and default parameters
- Insert the language ID you want to force on your banner like below
For example, if you want to force French on your banner:
<script type="text/javascript">
window.didomiConfig = {
languages: {
enabled: ['fr'],
default: 'fr'
}
};
</script>
Our consent management platform is available in 53 languages :
Arabic |
ar |
Arabic (Jordan) |
ar-JO |
Azerbaijani |
az-AZ |
Bengali |
bn-IN |
Brazilian |
pt-BR |
Bulgarian |
bg |
Catalan |
ca |
Chinese Simplified |
zh-CN |
Chinese Traditional |
zh-TW |
Croatian |
hr |
Czech |
cs |
Danish |
da |
Dutch |
nl |
Dutch (Belgium) |
nl-BE |
English |
en |
English (New Zealand) |
en-NZ |
English (United Kingdom) |
en-GB |
Estonian |
et |
Filipino |
fil |
Finnish |
fi |
French |
fr |
French (Belgium) |
fr-BE |
French (Canada) |
fr-CA |
German |
de |
German (Austria) |
de-AT |
German (Switzerland) |
de-CH |
Greek |
el |
Hebrew |
he |
Hindi |
hi-IN |
Hungarian |
hu |
Indonesian |
id |
Italian |
it |
Japanese |
ja |
Korean |
ko |
Latvian |
lv |
Lithuanian |
lt |
Macedonian |
mk-MK |
Malay |
ms |
Norwegian |
no |
Polish |
pl |
Portuguese |
pt |
Romanian |
ro |
Russian |
ru |
Serbian |
sr |
Slovak |
sk |
Slovenian |
sl |
Spanish |
es |
Swahili |
sw |
Swedish |
sv |
Thai |
th |
Turkish |
tr |
Ukrainian |
uk |
Vietnamese |
vi |