├── .github ├── FUNDING.yml ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md └── workflows │ └── run-tests.yml ├── .gitignore ├── .scrutinizer.yml ├── ADDITIONS.md ├── CHANGELOG.md ├── LICENSE ├── README.md ├── UPGRADING.md ├── composer.json ├── phpunit.xml.dist ├── src ├── Mcamara │ └── LaravelLocalization │ │ ├── Commands │ │ ├── RouteTranslationsCacheCommand.php │ │ ├── RouteTranslationsClearCommand.php │ │ └── RouteTranslationsListCommand.php │ │ ├── Exceptions │ │ ├── SupportedLocalesNotDefined.php │ │ └── UnsupportedLocaleException.php │ │ ├── Facades │ │ └── LaravelLocalization.php │ │ ├── Interfaces │ │ └── LocalizedUrlRoutable.php │ │ ├── LanguageNegotiator.php │ │ ├── LaravelLocalization.php │ │ ├── LaravelLocalizationServiceProvider.php │ │ ├── Middleware │ │ ├── LaravelLocalizationMiddlewareBase.php │ │ ├── LaravelLocalizationRedirectFilter.php │ │ ├── LaravelLocalizationRoutes.php │ │ ├── LaravelLocalizationViewPath.php │ │ ├── LocaleCookieRedirect.php │ │ └── LocaleSessionRedirect.php │ │ └── Traits │ │ ├── LoadsTranslatedCachedRoutes.php │ │ └── TranslatedRouteCommandContext.php ├── config │ └── config.php └── stubs │ └── routes.stub └── tests ├── CustomTranslatorTest.php ├── LaravelLocalizationTest.php ├── ModelWithTranslatableRoutes.php ├── TestCase.php ├── full-config └── config.php └── lang ├── en └── routes.php └── es └── routes.php /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcamara/laravel-localization/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcamara/laravel-localization/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcamara/laravel-localization/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/workflows/run-tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcamara/laravel-localization/HEAD/.github/workflows/run-tests.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcamara/laravel-localization/HEAD/.gitignore -------------------------------------------------------------------------------- /.scrutinizer.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcamara/laravel-localization/HEAD/.scrutinizer.yml -------------------------------------------------------------------------------- /ADDITIONS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcamara/laravel-localization/HEAD/ADDITIONS.md -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcamara/laravel-localization/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcamara/laravel-localization/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcamara/laravel-localization/HEAD/README.md -------------------------------------------------------------------------------- /UPGRADING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcamara/laravel-localization/HEAD/UPGRADING.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcamara/laravel-localization/HEAD/composer.json -------------------------------------------------------------------------------- /phpunit.xml.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcamara/laravel-localization/HEAD/phpunit.xml.dist -------------------------------------------------------------------------------- /src/Mcamara/LaravelLocalization/Commands/RouteTranslationsCacheCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcamara/laravel-localization/HEAD/src/Mcamara/LaravelLocalization/Commands/RouteTranslationsCacheCommand.php -------------------------------------------------------------------------------- /src/Mcamara/LaravelLocalization/Commands/RouteTranslationsClearCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcamara/laravel-localization/HEAD/src/Mcamara/LaravelLocalization/Commands/RouteTranslationsClearCommand.php -------------------------------------------------------------------------------- /src/Mcamara/LaravelLocalization/Commands/RouteTranslationsListCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcamara/laravel-localization/HEAD/src/Mcamara/LaravelLocalization/Commands/RouteTranslationsListCommand.php -------------------------------------------------------------------------------- /src/Mcamara/LaravelLocalization/Exceptions/SupportedLocalesNotDefined.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcamara/laravel-localization/HEAD/src/Mcamara/LaravelLocalization/Exceptions/SupportedLocalesNotDefined.php -------------------------------------------------------------------------------- /src/Mcamara/LaravelLocalization/Exceptions/UnsupportedLocaleException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcamara/laravel-localization/HEAD/src/Mcamara/LaravelLocalization/Exceptions/UnsupportedLocaleException.php -------------------------------------------------------------------------------- /src/Mcamara/LaravelLocalization/Facades/LaravelLocalization.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcamara/laravel-localization/HEAD/src/Mcamara/LaravelLocalization/Facades/LaravelLocalization.php -------------------------------------------------------------------------------- /src/Mcamara/LaravelLocalization/Interfaces/LocalizedUrlRoutable.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcamara/laravel-localization/HEAD/src/Mcamara/LaravelLocalization/Interfaces/LocalizedUrlRoutable.php -------------------------------------------------------------------------------- /src/Mcamara/LaravelLocalization/LanguageNegotiator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcamara/laravel-localization/HEAD/src/Mcamara/LaravelLocalization/LanguageNegotiator.php -------------------------------------------------------------------------------- /src/Mcamara/LaravelLocalization/LaravelLocalization.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcamara/laravel-localization/HEAD/src/Mcamara/LaravelLocalization/LaravelLocalization.php -------------------------------------------------------------------------------- /src/Mcamara/LaravelLocalization/LaravelLocalizationServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcamara/laravel-localization/HEAD/src/Mcamara/LaravelLocalization/LaravelLocalizationServiceProvider.php -------------------------------------------------------------------------------- /src/Mcamara/LaravelLocalization/Middleware/LaravelLocalizationMiddlewareBase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcamara/laravel-localization/HEAD/src/Mcamara/LaravelLocalization/Middleware/LaravelLocalizationMiddlewareBase.php -------------------------------------------------------------------------------- /src/Mcamara/LaravelLocalization/Middleware/LaravelLocalizationRedirectFilter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcamara/laravel-localization/HEAD/src/Mcamara/LaravelLocalization/Middleware/LaravelLocalizationRedirectFilter.php -------------------------------------------------------------------------------- /src/Mcamara/LaravelLocalization/Middleware/LaravelLocalizationRoutes.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcamara/laravel-localization/HEAD/src/Mcamara/LaravelLocalization/Middleware/LaravelLocalizationRoutes.php -------------------------------------------------------------------------------- /src/Mcamara/LaravelLocalization/Middleware/LaravelLocalizationViewPath.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcamara/laravel-localization/HEAD/src/Mcamara/LaravelLocalization/Middleware/LaravelLocalizationViewPath.php -------------------------------------------------------------------------------- /src/Mcamara/LaravelLocalization/Middleware/LocaleCookieRedirect.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcamara/laravel-localization/HEAD/src/Mcamara/LaravelLocalization/Middleware/LocaleCookieRedirect.php -------------------------------------------------------------------------------- /src/Mcamara/LaravelLocalization/Middleware/LocaleSessionRedirect.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcamara/laravel-localization/HEAD/src/Mcamara/LaravelLocalization/Middleware/LocaleSessionRedirect.php -------------------------------------------------------------------------------- /src/Mcamara/LaravelLocalization/Traits/LoadsTranslatedCachedRoutes.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcamara/laravel-localization/HEAD/src/Mcamara/LaravelLocalization/Traits/LoadsTranslatedCachedRoutes.php -------------------------------------------------------------------------------- /src/Mcamara/LaravelLocalization/Traits/TranslatedRouteCommandContext.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcamara/laravel-localization/HEAD/src/Mcamara/LaravelLocalization/Traits/TranslatedRouteCommandContext.php -------------------------------------------------------------------------------- /src/config/config.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcamara/laravel-localization/HEAD/src/config/config.php -------------------------------------------------------------------------------- /src/stubs/routes.stub: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcamara/laravel-localization/HEAD/src/stubs/routes.stub -------------------------------------------------------------------------------- /tests/CustomTranslatorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcamara/laravel-localization/HEAD/tests/CustomTranslatorTest.php -------------------------------------------------------------------------------- /tests/LaravelLocalizationTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcamara/laravel-localization/HEAD/tests/LaravelLocalizationTest.php -------------------------------------------------------------------------------- /tests/ModelWithTranslatableRoutes.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcamara/laravel-localization/HEAD/tests/ModelWithTranslatableRoutes.php -------------------------------------------------------------------------------- /tests/TestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcamara/laravel-localization/HEAD/tests/TestCase.php -------------------------------------------------------------------------------- /tests/full-config/config.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcamara/laravel-localization/HEAD/tests/full-config/config.php -------------------------------------------------------------------------------- /tests/lang/en/routes.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcamara/laravel-localization/HEAD/tests/lang/en/routes.php -------------------------------------------------------------------------------- /tests/lang/es/routes.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcamara/laravel-localization/HEAD/tests/lang/es/routes.php --------------------------------------------------------------------------------