You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2020/11/28 09:55:45 UTC

[struts-site] branch i18-sec updated: WW-4929 Adds a note about session and cookie storage option

This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a commit to branch i18-sec
in repository https://gitbox.apache.org/repos/asf/struts-site.git


The following commit(s) were added to refs/heads/i18-sec by this push:
     new 5020bcc  WW-4929 Adds a note about session and cookie storage option
5020bcc is described below

commit 5020bcc747ebd5fc877012ced9d3dcb5b7b4d81f
Author: Lukasz Lenart <lu...@apache.org>
AuthorDate: Sat Nov 28 10:55:39 2020 +0100

    WW-4929 Adds a note about session and cookie storage option
---
 source/core-developers/i18n-interceptor.md | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/source/core-developers/i18n-interceptor.md b/source/core-developers/i18n-interceptor.md
index a9585a2..5902472 100644
--- a/source/core-developers/i18n-interceptor.md
+++ b/source/core-developers/i18n-interceptor.md
@@ -36,7 +36,8 @@ US English is saved in the user's session and will be used for all future reques
    by default this is `session`.
  - `supportedLocale` (optional) - a set of comma separated locale supported by the application, once `storage` is set
    to `accept_language`, interceptor will try to match `supportedLocale` with locale provided in `Accept-Language` header.
-   (since Struts 2.6). 
+   Also in case of using `session` or `cookie`, interceptor will try to first match with `Accept-Language` header 
+   once `supportedLocale` has been defined. Since Struts 2.6. 
 
 ## Examples