Set the widget language

Legal Monster supports different languages, and this guide shows you how to change your cookie widget's language.

Supported languages

The cookie widget currently supports these languages, in the given jurisdictions:

Language

Supported in jurisdiction

Option value

English (EN)

All jurisdictions

None, or en-us

Danish (DA)

Denmark (DK)

da-dk

Dutch (NL)

Netherlands (NL)*

nl-nl

German (DE)

Germany (DE)*

de-de

Norwegian (NO)

Norway (NO)*

no-no

Swedish (SV)

Sweden (SE)*

sv-se

Spanish (ES)

Spain (ES)*

es-es

French (FR)

France (FR)*

fr-fr

Finnish (FI)

Finland (FI)*

fi-fi

*Our widget currently uses the rules from Denmark (DK) for this jurisdiction, with specific support for local rules planned for a future version.

Additional jurisdictions and languages will be added over time.

If you do not specify a language, or if the language you set is not supported by us in the visitor's jurisdiction, English will be used. The table above lists the supported combinations.

Setting the display language

To set the display language, initialise your widget with the locale option set to the value for the language you desire. For example, to use Danish when the jurisdiction is Denmark, your widget's initialisation would look similar to this:

legal.widget({
type: "cookie",
widgetPublicKey: "...",
locale: "da-dk",
});