Laravel Localization
Laravel package that adds locale-prefixed routes, locale detection and redirects, and helpers for localized URLs and language selectors.
Laravel Localization is a Laravel package for applications that serve the same content in several languages. According to its README it detects the language from the browser, saves the chosen locale in a session or cookie and redirects accordingly, supports translatable routes, can hide the default locale in the URL, and provides helpers such as a language selector.
Worth knowing
The README says the package is by default not compatible with Laravel’s route caching, so localized routes need its trait and a separate caching command to work with a cached route list.
The README also names a successor package for new projects and links a migration guide for switching to it. It says this package remains actively maintained, with compatibility updates continuing.
Identity
- Status
- Active
- Maintainer
- mcamara3
- Maintained by
- Individual
- First release
- 20146
Rendering and deploy
- Install with
- composer require2
Releases
Adoption
Sources
- 2026-11-16: links, Written in, GitHub stars
api.github.com/repos/mcamara/laravel-localization - 2026-11-16: links, Categories, Built on, License, License model, Install with
github.com/mcamara/laravel-localization/blob/v2.4.2/README.md - 2026-11-16: Maintainer
github.com/mcamara/laravel-localization/blob/v2.4.2/LICENSE - 2026-11-16: Runtime, Minimum runtime, License
github.com/mcamara/laravel-localization/blob/v2.4.2/composer.json - 2026-11-16: Current major version, Last release
api.github.com/repos/mcamara/laravel-localization/releases/latest - 2026-11-16: First release
repo.packagist.org/p2/mcamara/laravel-localization.json - 2026-11-16: Contributors
api.github.com/repos/mcamara/laravel-localization/contributors - 2026-11-16: Packagist downloads
packagist.org/packages/mcamara/laravel-localization.json - 2026-11-16: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/packagist.org/packages/mcamara%2Flaravel-localization