feat: Integrate Directus CMS, add i18n with next-intl, and configure project tooling with pnpm, husky, and commitlint.**

This commit is contained in:
2026-02-05 01:18:06 +01:00
parent 765cfd4c69
commit e80140f7cf
65 changed files with 12793 additions and 5879 deletions

9
i18n/request.ts Normal file
View File

@@ -0,0 +1,9 @@
import { getRequestConfig } from "next-intl/server";
export default getRequestConfig(async ({ locale }) => {
const baseLocale = locale || "de";
return {
locale: baseLocale,
messages: (await import(`../messages/${baseLocale}.json`)).default,
};
});