# Force consent notice language to match website

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)](https://developers.didomi.io/cmp/web-sdk/consent-notice/notice/look-and-feel#languages)

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:

1. 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)
2. Insert the element **didomiConfig.languages**, before the Didomi's SDK script
3. Add the **enabled** and **default** parameters
4. 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](https://developers.didomi.io/cmp/web-sdk/consent-notice/notice/look-and-feel#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    |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.didomi.io/consent-management-platform-cmp/consent-notices/force-consent-notice-language-to-match-website.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
