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)
Categories
FrameworksLicense
MIT LicenseFollow Laravel Localization
Other Useful Business Software
Deliver secure remote access with OpenVPN.
OpenVPN's products provide scalable, secure remote access — giving complete freedom to your employees to work outside the office while securely accessing SaaS, the internet, and company resources.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Laravel Localization!