From 6e64155c7e8eb01c19c3132a7ab0296322e6e5df Mon Sep 17 00:00:00 2001 From: Kalle <38327916+Sendouc@users.noreply.github.com> Date: Thu, 19 Mar 2026 22:00:31 +0200 Subject: [PATCH] Fix lang change not showing without full page refresh --- app/root.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/root.tsx b/app/root.tsx index d505ae915..1501cda57 100644 --- a/app/root.tsx +++ b/app/root.tsx @@ -79,6 +79,8 @@ export const shouldRevalidate: ShouldRevalidateFunction = (args) => { const json = args.json as Record | undefined; if (json?.revalidateRoot === true) return true; + if (args.nextUrl.searchParams.has("lng")) return true; + return false; };