Implement language switcher functionality and enhance localization support: add available locales configuration, update SetLocale middleware to handle language selection via query parameters, and integrate language switcher buttons in the settings layout. Additionally, update various views to utilize translation functions for improved internationalization, ensuring consistent language support across the application.
This commit is contained in:
1 parent
0b6cbc8d9e
commit
1a3f82b22c
10 files changed
+87
-16
No files matched your search
@@ -3,6 +3,7 @@
|
||||
namespace Database\Seeders;
|
||||
|
||||
use App\Models\User;
|
||||
use App\Models\UserRole;
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class UsersTableSeeder extends Seeder
|
||||
@@ -16,6 +17,7 @@ public function run(): void
|
||||
'name' => 'nurmuhammet',
|
||||
'email' => 'nurmuhammet@mail.com',
|
||||
'password' => bcrypt('payload10'),
|
||||
'role' => UserRole::ADMIN,
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user