If you use resource controllers, but want to change URL verbs to non-English for SEO purposes, so instead of /create you want Spanish /crear, you can configure it by using Route::resourceVerbs() method in App\Providers\AppServiceProvider:
public function boot(){ Route::resourceVerbs([ 'create' => 'crear', 'edit' => 'editar', ]); // ...}
Enjoyed This Tip?
Get access to all premium tutorials, video and text courses, and exclusive Laravel resources. Join our community of 10,000+ developers.
Recent Courses
Filament 4 From Scratch
28 lessons
2 h 25 min
PhpStorm Junie AI for Laravel Projects: Crash Course
7 lessons
36 min
Laravel HTTP Client and 3rd-Party APIs
7 lessons
50 min