Implementiere i18n für Frontend, Admin und Datenbank

This commit is contained in:
Hördle Bot
2025-11-28 15:36:06 +01:00
parent 9df9a808bf
commit 771d0d06f3
37 changed files with 3717 additions and 560 deletions

9
lib/navigation.ts Normal file
View File

@@ -0,0 +1,9 @@
import { createNavigation } from 'next-intl/navigation';
export const locales = ['de', 'en'] as const;
export const localePrefix = 'always'; // Default
export const { Link, redirect, usePathname, useRouter } = createNavigation({
locales,
localePrefix
});