Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Duplicate
-
2.0.4
-
None
-
None
-
Operating System: Linux
Platform: PC
-
37653
Description
<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.
Attachments
Issue Links
- duplicates
-
TILES-124 Rework Locale Resolution
- Open