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

        Francois D created issue -
        Francois D made changes -
        Field Original Value New Value
        Attachment LocaleAction.java [ 10064 ]
        Francois D made changes -
        Attachment LocaleFilter.java [ 10065 ]
        Francois D made changes -
        Attachment LocaleRequestWrapper.java [ 10066 ]
        Francois D made changes -
        Attachment LangSetterForm.java [ 10067 ]
        Matt Raible made changes -
        Fix Version/s 1.9 [ 10001 ]
        Affects Version/s 1.8.2 [ 10020 ]
        Matt Raible made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Matt Raible made changes -
        Comment [ http://www2.tltc.ttu.edu/kelly/_5346disc/00000597.htm
        http://www2.tltc.ttu.edu/kelly/_5346disc/00000598.htm
        http://www2.tltc.ttu.edu/kelly/_5346disc/00000599.htm
        http://www2.tltc.ttu.edu/kelly/_5346disc/0000059a.htm
        http://www2.tltc.ttu.edu/kelly/_5346disc/0000059b.htm
        http://www2.tltc.ttu.edu/kelly/_5346disc/0000059c.htm
        http://www2.tltc.ttu.edu/kelly/_5346disc/0000059d.htm
        http://www2.tltc.ttu.edu/kelly/_5346disc/0000059e.htm
        http://www2.tltc.ttu.edu/kelly/_5346disc/0000059f.htm
        http://www2.tltc.ttu.edu/kelly/_5346disc/000005a0.htm
        http://www2.tltc.ttu.edu/kelly/_5346disc/000005a1.htm
        http://www2.tltc.ttu.edu/kelly/_5346disc/000005a2.htm
        http://www2.tltc.ttu.edu/kelly/_5346disc/000005a3.htm
        http://www2.tltc.ttu.edu/kelly/_5346disc/000005a4.htm
        http://www2.tltc.ttu.edu/kelly/_5346disc/000005a5.htm
        http://www2.tltc.ttu.edu/kelly/_5346disc/000005a6.htm
        http://www2.tltc.ttu.edu/kelly/_5346disc/000005a7.htm
        http://www2.tltc.ttu.edu/kelly/_5346disc/000005a8.htm
        http://www2.tltc.ttu.edu/kelly/_5346disc/000005a9.htm
        http://www2.tltc.ttu.edu/kelly/_5346disc/000005aa.htm
        http://www2.tltc.ttu.edu/kelly/_5346disc/000005ab.htm
        http://www2.tltc.ttu.edu/kelly/_5346disc/000005ac.htm
        http://www2.tltc.ttu.edu/kelly/_5346disc/000005ad.htm
        http://www2.tltc.ttu.edu/kelly/_5346disc/000005ae.htm
        http://www2.tltc.ttu.edu/kelly/_5346disc/000005af.htm
        http://www2.tltc.ttu.edu/kelly/_5346disc/000005b0.htm
        http://www2.tltc.ttu.edu/kelly/_5346disc/000005b1.htm
        http://www2.tltc.ttu.edu/kelly/_5346disc/000005b2.htm
        http://www2.tltc.ttu.edu/kelly/_5346disc/000005b3.htm
        http://www2.tltc.ttu.edu/kelly/_5346disc/000005b4.htm
        http://www2.tltc.ttu.edu/kelly/_5346disc/000005b5.htm
        http://www2.tltc.ttu.edu/kelly/_5346disc/000005b6.htm
        http://www2.tltc.ttu.edu/kelly/_5346disc/000005b7.htm
        http://www2.tltc.ttu.edu/kelly/_5346disc/000005b8.htm
        http://www2.tltc.ttu.edu/kelly/_5346disc/000005b9.htm
        http://www2.tltc.ttu.edu/kelly/_5346disc/000005ba.htm
        http://www2.tltc.ttu.edu/kelly/_5346disc/000005bb.htm
        http://www2.tltc.ttu.edu/kelly/_5346disc/000005bc.htm
        http://www2.tltc.ttu.edu/kelly/_5346disc/000005bd.htm
        http://www2.tltc.ttu.edu/kelly/_5346disc/000005be.htm
        http://www2.tltc.ttu.edu/kelly/_5346disc/000005bf.htm
        http://www2.tltc.ttu.edu/kelly/_5346disc/000005c0.htm
        http://www2.tltc.ttu.edu/kelly/_5346disc/000005c1.htm
        http://www2.tltc.ttu.edu/kelly/_5346disc/000005c2.htm
        http://www2.tltc.ttu.edu/kelly/_5346disc/000005c3.htm
        http://www2.tltc.ttu.edu/kelly/_5346disc/000005c4.htm
        http://www2.tltc.ttu.edu/kelly/_5346disc/000005c5.htm
        http://www2.tltc.ttu.edu/kelly/_5346disc/000005c6.htm
        http://www2.tltc.ttu.edu/kelly/_5346disc/000005c7.htm
        http://www2.tltc.ttu.edu/kelly/_5346disc/000005c8.htm
        http://www2.tltc.ttu.edu/kelly/_5346disc/000005c9.htm
        http://www.acadweb.wwu.edu/courses/math312-TR/_disc1/000000fc.htm
        http://www.acadweb.wwu.edu/courses/math312-TR/_disc1/000000fd.htm
        http://www.acadweb.wwu.edu/courses/math312-TR/_disc1/000000fe.htm
        http://www.acadweb.wwu.edu/courses/math312-TR/_disc1/000000ff.htm
        http://www.acadweb.wwu.edu/courses/math312-TR/_disc1/00000100.htm
        http://www.acadweb.wwu.edu/courses/math312-TR/_disc1/00000101.htm
        http://www.acadweb.wwu.edu/courses/math312-TR/_disc1/00000102.htm
        http://www.acadweb.wwu.edu/courses/math312-TR/_disc1/00000103.htm
        http://www.acadweb.wwu.edu/courses/math312-TR/_disc1/00000104.htm
        http://www.acadweb.wwu.edu/courses/math312-TR/_disc1/00000105.htm
        http://www.acadweb.wwu.edu/courses/math312-TR/_disc1/00000106.htm
        http://www.acadweb.wwu.edu/courses/math312-TR/_disc1/00000107.htm
        http://www.acadweb.wwu.edu/courses/math312-TR/_disc1/00000108.htm
        http://www.acadweb.wwu.edu/courses/math312-TR/_disc1/00000109.htm
        http://www.acadweb.wwu.edu/courses/math312-TR/_disc1/0000010a.htm
        http://www.acadweb.wwu.edu/courses/math312-TR/_disc1/0000010b.htm
        http://www.acadweb.wwu.edu/courses/math312-TR/_disc1/0000010c.htm
        http://www.acadweb.wwu.edu/courses/math312-TR/_disc1/0000010d.htm
        http://www.acadweb.wwu.edu/courses/math312-TR/_disc1/0000010e.htm
        http://www.acadweb.wwu.edu/courses/math312-TR/_disc1/0000010f.htm
        http://www.acadweb.wwu.edu/courses/math312-TR/_disc1/00000110.htm
        http://www.acadweb.wwu.edu/courses/math312-TR/_disc1/00000111.htm
        http://www.acadweb.wwu.edu/courses/math312-TR/_disc1/00000112.htm
        http://www.acadweb.wwu.edu/courses/math312-TR/_disc1/00000113.htm
        http://www.acadweb.wwu.edu/courses/math312-TR/_disc1/00000114.htm
        http://www.acadweb.wwu.edu/courses/math312-TR/_disc1/00000115.htm
        http://www.acadweb.wwu.edu/courses/math312-TR/_disc1/00000116.htm
        http://www.acadweb.wwu.edu/courses/math312-TR/_disc1/00000117.htm
        http://www.acadweb.wwu.edu/courses/math312-TR/_disc1/00000118.htm
        http://www.acadweb.wwu.edu/courses/math312-TR/_disc1/00000119.htm
        http://www.acadweb.wwu.edu/courses/math312-TR/_disc1/0000011a.htm
        http://www.acadweb.wwu.edu/courses/math312-TR/_disc1/0000011b.htm
        http://www.acadweb.wwu.edu/courses/math312-TR/_disc1/0000011c.htm
        http://www.acadweb.wwu.edu/courses/math312-TR/_disc1/0000011d.htm
        http://www.acadweb.wwu.edu/courses/math312-TR/_disc1/0000011e.htm
        http://www.acadweb.wwu.edu/courses/math312-TR/_disc1/0000011f.htm
        http://www.acadweb.wwu.edu/courses/math312-TR/_disc1/00000120.htm
        http://www.acadweb.wwu.edu/courses/math312-TR/_disc1/00000121.htm
        http://www.acadweb.wwu.edu/courses/math312-TR/_disc1/00000122.htm
        http://www.acadweb.wwu.edu/courses/math312-TR/_disc1/00000123.htm
        http://www.acadweb.wwu.edu/courses/math312-TR/_disc1/00000124.htm
        http://www.acadweb.wwu.edu/courses/math312-TR/_disc1/00000125.htm
        http://www.acadweb.wwu.edu/courses/math312-TR/_disc1/00000126.htm
        http://www.acadweb.wwu.edu/courses/math312-TR/_disc1/00000127.htm
        http://www.acadweb.wwu.edu/courses/math312-TR/_disc1/00000128.htm
        http://www.acadweb.wwu.edu/courses/math312-TR/_disc1/00000129.htm
        http://www.acadweb.wwu.edu/courses/math312-TR/_disc1/000000f5.htm
        http://www.acadweb.wwu.edu/courses/math312-TR/_disc1/000000f6.htm
        http://www.acadweb.wwu.edu/courses/math312-TR/_disc1/000000f7.htm
        http://www.acadweb.wwu.edu/courses/math312-TR/_disc1/000000f8.htm
        ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: