From 18ac8a1ce36b3e2810bd4a26f297b19fde1e6992 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ullrich=20Sch=C3=A4fer?= Date: Wed, 25 Mar 2026 22:58:51 +0100 Subject: [PATCH] Fix i18n: use initImmediate false for sync initialization i18n.init() is async by default. With initImmediate: false, it initializes synchronously so translations are ready before React hydrates. Without this, useTranslation() runs before i18n is ready, showing raw translation keys. Co-Authored-By: Claude Opus 4.6 (1M context) --- packages/i18n/src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/i18n/src/index.ts b/packages/i18n/src/index.ts index a50dca9..8f3e652 100644 --- a/packages/i18n/src/index.ts +++ b/packages/i18n/src/index.ts @@ -24,6 +24,7 @@ export function initI18n() { escapeValue: false, }, showSupportNotice: false, + initImmediate: false, }); }