i18n in dispatcher sitemap non-standard
---------------------------------------

                 Key: FOR-935
                 URL: http://issues.apache.org/jira/browse/FOR-935
             Project: Forrest
          Issue Type: Bug
          Components: Dispatcher (aka views), Internationalisation (i18n)
    Affects Versions: 0.8-dev
            Reporter: Sjur N. Moshagen


The present dispatcher sitemap internal.xmap is taking the locale directly from 
the request instead of using the standard method in Forrest: LocaleAction. This 
leads to inconsistent behaviour: the standard messages (Last updated, Search, 
etc.) follows the best browser locale available, whatever happens, and appears 
"fixed" in its locale selection — it isn't possible to change it, even if other 
aspects on the current page changes locale.

The fix is to insert LocaleAction action wrapper, and use the locale provided 
by it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira