[ 
https://issues.apache.org/struts/browse/TILES-215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Antonio Petrelli moved STR-2663 to TILES-215:
---------------------------------------------

          Component/s:     (was: Tiles 1 Plugin)
                       tiles-core
    Affects Version/s:     (was: Future)
                       2.0.4
             Workflow: Struts - editable closed status  (was: jira)
           Issue Type: Improvement  (was: Bug)
                  Key: TILES-215  (was: STR-2663)
              Project: Tiles  (was: Struts 1)

> Struts-beans and tiles handle request.getLocale different
> ---------------------------------------------------------
>
>                 Key: TILES-215
>                 URL: https://issues.apache.org/struts/browse/TILES-215
>             Project: Tiles
>          Issue Type: Improvement
>          Components: tiles-core
>    Affects Versions: 2.0.4
>         Environment: Operating System: Linux
> Platform: PC
>            Reporter: René Treffer
>            Assignee: Struts Developers
>            Priority: Minor
>
> <bean:message key="...."/> uses request.getLocale if available. Tiles doesn't.
> This leads to partial translatet websites unless you develop a workaround
> yourself (like copying the request Locale into the session).
> Either both frameworks use request.getLocale or both frameworks should use 
> only
> the session settings per default. The current solution is inconsistent, 
> leading
> to confusion and is hardly documented (at least I didn't find any resources
> about it).
> I hope this will be fixed either by a better documentation or by different
> default settings (I know this won't happen as it may break many other sites).
> Thanks for struts and tiles - both are realy great, but the tiles 
> documentation
> (especially about internationalisation) sucks.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to