{"repo":"mcamara/laravel-localization","free":true,"listed":false,"github":"https://github.com/mcamara/laravel-localization","clone":"git clone https://github.com/mcamara/laravel-localization.git","description":"Easy localization for Laravel","language":"PHP","stars":3561,"topics":["laravel-localization","laravel","laravel-package","php","language-selector"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Laravel Localization Architecture note & recommended successor This package generates routes dynamically per request, which has a number of side effects - most notably, php artisan route:cache isn't supported out of the box. For new projects or apps planning to migrate, niels-numbers/laravel-localizer is the recommended modern successor - same feature set, but with statically registered routes that support route:cache natively. See the migration guide for the swap. This package remains actively maintained by @jordyvanderhaegen for users who need to stay on the current architecture. Compatibility updates (Laravel/PHP versions, security, small bug fixes) continue here. Easy i18n localization for Laravel, an useful tool to combine with Laravel localization classes. The package offers the following: - 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) Table of Contents - Installation - Usage - Redirect Middleware - Helpers - Translated Routes - Caching routes - Testing - Common Issues - POST is not working - MethodNotAllowedHttpException - Validation message is always in default locale - Collaborators - Changelog - License Laravel compatibility Laravel laravel-localization :------------- :---------- 4.0.x 0.13.x 4.1.x 0.13.x 4.2","default_branch":null,"files":null,"tree":[],"storefront":"/r/mcamara","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mcamara/laravel-localization/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}