feat(i18n): Complete localization of marketing frontend with react-i18next, prefixed URLs, JSON migrations, and automation

This commit is contained in:
Codex Agent
2025-10-03 13:05:13 +02:00
parent 1845d83583
commit 60f8de9162
46 changed files with 3454 additions and 590 deletions

View File

@@ -61,6 +61,12 @@ class HandleInertiaRequests extends Middleware
],
'supportedLocales' => $supportedLocales,
'sidebarOpen' => ! $request->hasCookie('sidebar_state') || $request->cookie('sidebar_state') === 'true',
'locale' => app()->getLocale(),
'translations' => [
'marketing' => __('marketing'),
'auth' => __('auth'),
'profile' => __('profile'),
],
];
}
}