Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0.0
-
None
Description
Given the following portlet configuration:
MyPortlet.java
@PortletConfiguration( portletName = "myPortlet", supportedLocales = {"en_US", "de"} )
Pluto does not parse en_US so that it equates to Locale.ENGLISH. A parsing mechanism needs to be introduce to look for the underscore and split the value into the languageCode ("en") and countryCode ("US") before creating a java.util.Locale object.