From a3d429d2f613343a9b4ad68b4ee8f2b5100bd32b Mon Sep 17 00:00:00 2001 From: Serkan Date: Mon, 4 Jan 2021 21:09:04 +0300 Subject: [PATCH] fix LocaleCookieRedirect section (#767) It says localeCookieRedirect middleware stores locale in session. I replace session with cookie. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 86151f7..0f27c0a 100644 --- a/README.md +++ b/README.md @@ -186,7 +186,7 @@ For example, if a user navigates to http://url-to-laravel/test and `en` is the Similar to LocaleSessionRedirect, but it stores value in a cookie instead of a session. -Whenever a locale is present in the url, it will be stored in the session by this middleware. +Whenever a locale is present in the url, it will be stored in the cookie by this middleware. In there is no locale present in the url, then this middleware will check the following