How the banner picks a language for each visitor
The banner can show text in the visitor’s language without you maintaining a long manual list for every page.
How it works
- It reads your page’s HTML language attribute — the
langvalue on the<html>element. - It picks a matching banner language when one is available.
Good practice
- Set
langcorrectly for each localized version of your site (for exampledafor Danish,defor German). - If
langis missing or unclear, the product applies a safe default so visitors still see a valid consent flow.
Why it matters
Regulators expect consent information to be clear and understandable. Showing the banner in a language visitors can read supports that goal.
If your CMS or theme sets lang wrong, fix it there first — the banner follows what the page declares.
Product overview: Intastellar Consents.
Last updated