You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tiles.apache.org by "Antonio Petrelli (JIRA)" <ji...@apache.org> on 2009/01/07 15:04:37 UTC

[jira] Closed: (TILES-215) Struts-beans and tiles handle request.getLocale different

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

Antonio Petrelli closed TILES-215.
----------------------------------


> 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
>
> <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.