Uploaded image for project: 'Jetspeed 2 (Retired)'
  1. Jetspeed 2 (Retired)
  2. JS2-788

Localize File Portlet resources

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.3
    • 2.1.3
    • Demo Portlets
    • None

    Description

      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>

      Attachments

        Activity

          People

            taylor David Sean Taylor
            taylor David Sean Taylor
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: