Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Laravel Localization

Laravel Localization Laravel Package

mcamara/laravel-localization

Laravel localization helper for multi-language apps: detect browser language, redirect and persist locale (session/cookie), define routes once with locale prefixes, translate routes, optionally hide default locale, plus helpers like language selector. Supports caching and testing.

View on GitHub
Deep Wiki
Context7

mcamara/laravel-localization adds robust i18n routing to Laravel by letting you define routes once and serve them across multiple locales. It detects the user’s preferred language, applies smart redirects, and helps keep URLs clean (optionally hiding the default locale).

Use it to build localized, SEO-friendly apps with minimal duplication while keeping locale state in session/cookies and integrating smoothly with Laravel’s translation system.

  • Browser locale detection with configurable fallbacks
  • Smart redirects and persistent locale via session/cookie
  • Localized routing (define routes once for all languages)
  • Translatable routes for locale-specific slugs/paths
  • Caching & testing support for performant, reliable routing
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport