From b23bf46f57581b3c6636e825343928bb713d780d Mon Sep 17 00:00:00 2001 From: Patrick Lutz Date: Mon, 18 Aug 2025 14:56:47 +0200 Subject: [PATCH 1/2] added culture prop to cookiebot snippet --- src/next/components/Snippet/Cookiebot.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/next/components/Snippet/Cookiebot.tsx b/src/next/components/Snippet/Cookiebot.tsx index 03537c3..665dde7 100644 --- a/src/next/components/Snippet/Cookiebot.tsx +++ b/src/next/components/Snippet/Cookiebot.tsx @@ -3,6 +3,7 @@ import Script from "next/script"; export type ConsentManagerProps = Readonly<{ id: string; + culture?: string; }> export function Cookiebot (props: ConsentManagerProps): ReactElement|null @@ -12,6 +13,7 @@ export function Cookiebot (props: ConsentManagerProps): ReactElement|null id="Cookiebot" src="https://consent.cookiebot.eu/uc.js" data-cbid={props.id} + data-culture={props.culture} async /> ); From 3783a18d4c91cec7c9cc031d81773757e4578707 Mon Sep 17 00:00:00 2001 From: Patrick Lutz Date: Mon, 18 Aug 2025 15:01:13 +0200 Subject: [PATCH 2/2] updated changelog --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7d161c3..7571754 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +2.5.2 +===== + +* (improvement) Added culture property to cookiebot snippet. + + 2.5.1 =====