Easy i18n localization for Laravel, a useful tool to combine with Laravel localization classes. As you can modify the supportedLocales even by renaming their keys, it is possible to use the string uk instead of en-GB to provide custom lang url segments. Of course, you need to prevent any collisions with already existing keys and should stick to the convention as long as possible. But if you are using such a custom key, you have to store your mapping to the localesMapping array. This localesMapping is needed to enable the LanguageNegotiator to correctly assign the desired locales based on the HTTP Accept-Language Header.

Features

  • Detect language from browser
  • Smart redirects (Save locale in session/cookie)
  • Smart routing (Define your routes only once, no matter how many languages you use)
  • Translatable Routes
  • Supports caching & testing
  • Option to hide default locale in URL
  • Many snippets and helpers (like language selector)

Project Samples

Project Activity

See All Activity >

Categories

Frameworks

License

MIT License

Follow Laravel Localization

Laravel Localization Web Site

Other Useful Business Software
White Labeled Fintech Software Solutions | Centrex Icon
White Labeled Fintech Software Solutions | Centrex

Centrex is a full suite of white labeled fintech solutions built and designed for brokers, lenders, banks, investors, fintechs

The Centrex products include: CRM, loan origination, loan and advance servicing software, syndication management, white labeled mobile app, money manager, underwriting, Esign, and website smart app builder. The Centrex services include: fintech software consulting, admin retainer services, and managed data cloud.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Laravel Localization!

Additional Project Details

Programming Language

PHP

Related Categories

PHP Frameworks

Registered

2024-04-04