Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.2
    • Fix Version/s: 1.9
    • Component/s: i18n
    • Labels:
      None

      Description

      Bonjour

      I have worked on the ivan coro solution (http://issues.appfuse.org/browse/APF-141)
      to change the locale in code.
      This is an extension of his code to support any locale.

      I attach several files:

      a) LocaleAction.java:
      Save in session the locale set by the user
      and forwards to a page, based on request level
      parameters that are set (language, country, & forward).

      b) LocaleFilter.java:
      Filter to wrap request with a request including user preferred locale.

      c) LocaleRequestWrapper:
      HttpRequestWrapper embedding a request with user preferred locale.

      hope this help
      F

      1. LangSetterForm.java
        0.8 kB
        Francois D
      2. LocaleAction.java
        2 kB
        Francois D
      3. LocaleFilter.java
        2 kB
        Francois D
      4. LocaleRequestWrapper.java
        2 kB
        Francois D

        Activity

          People

          • Assignee:
            Matt Raible
            Reporter:
            Francois D
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: