Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.1.3
-
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>