forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sjur N. Moshagen (JIRA)" <>
Subject [jira] Updated: (FOR-936) Forrest "looses" the locale when switching pages
Date Mon, 25 Sep 2006 11:39:53 GMT
     [ ]

Sjur N. Moshagen updated FOR-936:

    Attachment: sticky-locale-patch.txt

Attached is a patch that fixes the issue by changing some settings in the LocaleAction configuration
in the root sitemap.

The patch also turns on locale negotiation in the LocaleMatcher.

> Forrest "looses" the locale when switching pages
> ------------------------------------------------
>                 Key: FOR-936
>                 URL:
>             Project: Forrest
>          Issue Type: Bug
>          Components: Core operations, Internationalisation (i18n), Launch 'forrest run'
>    Affects Versions: 0.8-dev
>            Reporter: Sjur N. Moshagen
>         Attachments: sticky-locale-patch.txt
> When moving from one page to another and switching locales in between, the chosen locale
is lost when entering the new page. To reproduce:
> 1) set up and run forrest with i18n ON
> 2) open a localized page
> 3) switch locale by appending '?locale=XY' in the address field
> 4) open another page available in both the original locale (before the switch) and the
new locale XY
> 5) notice how the new page is displayed in the original locale, NOT the expected XY locale
> Although one could argue that the described behaviour is wanted in some cases, I believe
that to most users it would be natural that the locale is "sticky" once changed - it should
not change back by itself. Thus, the "sticky" behaviour should be default in Forrest.
> The fix is simple, patch to come soon.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message