feat(i18n): Complete localization of marketing frontend with react-i18next, prefixed URLs, JSON migrations, and automation
This commit is contained in:
@@ -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'),
|
||||
],
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user