laravel-multilingual-routes icon indicating copy to clipboard operation
laravel-multilingual-routes copied to clipboard

A package to handle multilingual routes in your Laravel application.

Results 5 laravel-multilingual-routes issues
Sort by recently updated
recently updated
newest added

**Describe the bug** I'm using a model with a translatable name (using [spatie/laravel-translatable](https://github.com/spatie/laravel-translatable/)) which is used as the source for a translatable slug (using the `HasTranslatableSlug` trait of [spatie/laravel-sluggable](https://github.com/spatie/laravel-sluggable/)). However,...

bug

**Describe the bug** When defining an route that is only available in view locales it throws an Error when calling `localized_route()` **To Reproduce** Steps to reproduce the behavior: 1. Define...

bug
enhancement

Maximum function nesting level of '256' reached, aborting!

bug
question

Is it possible to use multiple (sub)domains instead of url? For example: laravel.nl/home instead of laravel.com/nl/home I hope to hear from you soon.

enhancement

What's the best way to deal with [Resource Controllers](https://laravel.com/docs/9.x/controllers#resource-controllers)? Since there is no `Route::multilingualResource()` at the moment, I've solved it like this. Before: ``` Route::resource('companies', \App\Http\Controllers\CompanyController::class) ``` After: ``` Route::multilingual('companies',...

enhancement