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

Antonio Petrelli updated TILES-215:
-----------------------------------

    Fix Version/s: 2.1.x

> 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
>            Priority: Minor
>             Fix For: 2.1.x
>
>
> <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