Skip to content

Releases: AlexWaha/laravel-multilang-routes

1.1.1

13 Apr 09:10
Compare
Choose a tag to compare

✨ Release 1.1.0
What's New
Added Route::localizedRoutes() macro for easier route grouping.

Added localize.setLocale middleware for automatic locale detection.

Added localize.paginated middleware for clean SEO-friendly pagination URLs (removing ?page=1).

Added Route::isLocalized($name) macro to detect localized route names.

Improved LocalizeUrlGenerator for smart route name handling.

Added support for custom Language Providers (e.g., loading languages from database).

Added examples (examples/) folder with ready-to-use usage scenarios.

🚀 Improvements
Tested with PEST framework.

🛡️ Compatibility
Laravel 10.x, 11.x, 12.x

PHP 8.2+