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) <noreply@anthropic.com>
This commit is contained in:
Ullrich Schäfer 2026-03-25 22:58:51 +01:00
parent 59ef2a4b5e
commit 18ac8a1ce3
No known key found for this signature in database
GPG key ID: A32FF691A0F752D9

View file

@ -24,6 +24,7 @@ export function initI18n() {
escapeValue: false,
},
showSupportNotice: false,
initImmediate: false,
});
}