You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Paul Benedict (JIRA)" <ji...@apache.org> on 2006/12/02 22:27:58 UTC
[jira] Resolved: (STR-1170) I18N on ActionForwards
[ http://issues.apache.org/struts/browse/STR-1170?page=all ]
Paul Benedict resolved STR-1170.
--------------------------------
Fix Version/s: (was: 1.3.6)
Resolution: Won't Fix
> I18N on ActionForwards
> ----------------------
>
> Key: STR-1170
> URL: http://issues.apache.org/struts/browse/STR-1170
> Project: Struts 1
> Issue Type: Improvement
> Components: Core
> Affects Versions: Nightly Build
> Environment: Operating System: All
> Platform: All
> Reporter: Jonathan Kovacs
> Assigned To: Paul Benedict
> Priority: Minor
> Attachments: actionMapping.patch
>
>
> I have a patch which adds a few methods to the ActionMapping class to support
> i18n on the returned ActionForward. When a Locale object is passed in, it
> checks to see if there is an appropriate localized ActionForward defined.
> For example, if you have defined an action, "ConquerEarth", and it's localized
> variant, "ConquerEarth_fr". If you call ActionMapping.findForward
> ("ConquerEarth", locale), and locale is initialized appropriately to 'fr', then
> the "ConquerEarth_fr" action will be returned. Otherwise, "ConquerEarth" will
> be returned.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira