Update hivegrid-cloud reference to latest main

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
davidandClaude Fable 5 committed 2026-07-08 16:15:37 +02:00
1 parent e98d38e716
commit 7b21524c86
3781 files changed
+373484 -225607

No files matched your search

@@ -62,7 +62,7 @@ import { I18nextProvider, initReactI18next } from "react-i18next";
import i18next from "i18next";
import Backend from "i18next-http-backend";
import LanguageDetector from "i18next-browser-languagedetector";
import { i18nConfig } from "./locale/i18n.js";
import { formalLngs, i18nConfig } from "./locale/i18n.js";
async function hydrate() {
await waitForObservabilityHydrationGrace();
@@ -77,6 +77,14 @@ async function hydrate() {
.init({
// Spread configuration.
...i18nConfig,
// Permit the formal variants as languages so a post-hydration
// `changeLanguage("<locale>-formal")` (driven by the Anrede toggle in
// root.tsx) actually loads "/locales/<locale>-formal/*.json" instead of
// being filtered out. Purely additive: with the default "du" the language
// stays the base locale detected from `<html lang>`, so existing
// behaviour is unchanged. Missing formal files fall back to the base
// locale via `fallbackLng`.
supportedLngs: [...i18nConfig.supportedLngs, ...formalLngs],
// Detects the namespaces your routes rendered while SSR use
// and pass them here to load the translations.
ns: getInitialNamespaces(),