portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Sean Taylor (JIRA)" <jetspeed-...@portals.apache.org>
Subject [jira] Created: (JS2-788) Localize File Portlet resources
Date Mon, 15 Oct 2007 20:55:51 GMT
Localize File Portlet resources
-------------------------------

                 Key: JS2-788
                 URL: https://issues.apache.org/jira/browse/JS2-788
             Project: Jetspeed 2
          Issue Type: Improvement
          Components: Demo Portlets
    Affects Versions: 2.1.3
            Reporter: David Sean Taylor
            Assignee: David Sean Taylor
             Fix For: 2.1.3


I added this feature in a custom portal. I wanted to merge it back up into the trunk. 
Works by specifying a preference to a file resource, such as WEB-INF/somedir/test.html

Then by placing the resources in localized directories:

WEB-INF/somedir/en/test.html
WEB-INF/somedir/es/test.html

as well as enabling this non-default behavior in the portlet.xml:

        <init-param>
        	<name>use-language</name>
        	<value>true</value>
        </init-param>                                     


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


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message