swayok/laravel-language-detector
A Laravel package for detecting the language of incoming requests or text and setting the application locale accordingly. Integrates with middleware and locale negotiation to simplify building multilingual applications.
swayok/laravel-language-detector is a lightweight Laravel package for detecting a visitor's preferred language and using it to drive application localization. It inspects incoming requests and resolves the best-matching locale, making it easy to serve multilingual content without custom detection logic.
Ideal for multilingual sites that need simple, reliable language negotiation.
How can I help you explore Laravel packages today?