Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-4128

Document that I18nInterceptor sets the Locale according to browser settings

    Details

      Description

      I18nInterceptor tries to set the Local according to the "Accept-Language" request header, but this behavior is not documented.

      See:

      http://markmail.org/thread/ppibxvljonkcgq47

        Activity

        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Struts2-JDK6 #754 (See https://builds.apache.org/job/Struts2-JDK6/754/)
        WW-4128: Document that I18nInterceptor sets the Locale according to browser settings (thanks to Antonio Sanchez)

        Note: UTF-8 log messages edited by ASF infra team to work around an installation issue with the
        svn server (not an svn bug) that breaks replication from master to slave servers when log
        messages contain UTF-8. (grobmeier: rev 1503163)

        • /struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/interceptor/I18nInterceptor.java
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Struts2-JDK6 #754 (See https://builds.apache.org/job/Struts2-JDK6/754/ ) WW-4128 : Document that I18nInterceptor sets the Locale according to browser settings (thanks to Antonio Sanchez) Note: UTF-8 log messages edited by ASF infra team to work around an installation issue with the svn server (not an svn bug) that breaks replication from master to slave servers when log messages contain UTF-8. (grobmeier: rev 1503163) /struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/interceptor/I18nInterceptor.java
        Hide
        cgrobmeier Christian Grobmeier added a comment -

        Thanks Antonio!
        Fixed with rv1503163

        Show
        cgrobmeier Christian Grobmeier added a comment - Thanks Antonio! Fixed with rv1503163
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 1503163 from Christian Grobmeier in branch 'struts2/trunk'
        [ https://svn.apache.org/r1503163 ]

        WW-4128: Document that I18nInterceptor sets the Locale according to browser settings (thanks to Antonio S?\195?\161nchez)

        Show
        jira-bot ASF subversion and git services added a comment - Commit 1503163 from Christian Grobmeier in branch 'struts2/trunk' [ https://svn.apache.org/r1503163 ] WW-4128 : Document that I18nInterceptor sets the Locale according to browser settings (thanks to Antonio S?\195?\161nchez)

          People

          • Assignee:
            Unassigned
            Reporter:
            antonioares Antonio Sánchez
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development