lokalisierung vervollständigt, api provider testconnection, runware modellsuche aktiviert und style preview generation integriert
This commit is contained in:
@@ -21,15 +21,8 @@ class AppServiceProvider extends ServiceProvider
|
||||
public function boot(): void
|
||||
{
|
||||
FilamentAsset::register([
|
||||
\Filament\Support\Assets\Js::make('custom-navigation-state', __DIR__ . '/../../resources/js/custom/navigation-state.js'),
|
||||
\Filament\Support\Assets\Js::make('custom-navigation-state', __DIR__.'/../../resources/js/custom/navigation-state.js'),
|
||||
]);
|
||||
|
||||
$locale = substr(request()->server('HTTP_ACCEPT_LANGUAGE'), 0, 2);
|
||||
|
||||
if (in_array($locale, ['de'])) {
|
||||
app()->setLocale($locale);
|
||||
} else {
|
||||
app()->setLocale('en');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user