portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Sean Taylor <d.tay...@onehippo.com>
Subject Re: portlet internationalization
Date Mon, 11 Jan 2010 17:09:43 GMT
On Mon, Jan 11, 2010 at 7:27 AM, Dahl, Sandra <SDahl@dvsanalytics.com>wrote:

> The property files are located in src\main\resources and deployed to
> WEB-INF/classes. Portlet.xml:
> <?xml version="1.0" encoding="UTF-8"?>
> <portlet-app xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd
> "
>              version="2.0"
>              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>              xsi:schemaLocation="
> http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd
> http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd">
>
>  <resource-bundle>LocalStrings</resource-bundle>
>
> A minor issue, the resource-bundle tag should be placed after the <portlet>
collection tags
I agree with Woonsan, try using a portlet level tag, just move the
resource-bundle tag to here (to test if it works):




>
>    <supports>
>      <mime-type>text/html</mime-type>
>      <portlet-mode>VIEW</portlet-mode>
>      <portlet-mode>EDIT</portlet-mode>
>      <portlet-mode>HELP</portlet-mode>
>    </supports>
>     <supported-locale>en</supported-locale>
>    <supported-locale>fr</supported-locale>
>
 <resource-bundle>LocalStrings</resource-bundle>


See if that works. In the mean time i will look into seeing if we have a bug
at the global <resource-bundle> tag level

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message