Sistema multilingüe EN/ES: middleware SetLocale, LanguageSwitcher, campo locale en users, traducciones en dashboard/mapa/proyectos/gestores

This commit is contained in:
2026-05-09 23:14:48 +02:00
parent 7bf5a90a24
commit 3e8b6f1eb3
22 changed files with 798 additions and 131 deletions
+3 -4
View File
@@ -1,12 +1,11 @@
<x-app-layout>
<div class="py-12">
<div class="flex justify-between items-center mb-6">
<h1 class="text-2xl font-bold">Mis Proyectos</h1>
<h1 class="text-2xl font-bold">{{ __('Projects') }}</h1>
@can('create projects')
<a href="{{ route('projects.create') }}" class="btn btn-primary">+ Nuevo Proyecto</a>
<a href="{{ route('projects.create') }}" class="btn btn-primary">+ {{ __('New Project') }}</a>
@endcan
</div>
<livewire:project-list />
</div>
</x-app-layout>
</x-app-layout>