You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-user@portals.apache.org by Christian Aguilar <xt...@gmail.com> on 2005/12/13 18:24:52 UTC

About localization

Hi guys:

Could you give information about what this lines exactly mean in the file
portlet.xml, or there is a good tutorial about this.


<supported-locale>en</supported-locale>

<supported-locale>de</supported-locale>

<resource-bundle>portlet</resource-bundle>
*

thanks in advance
*

Re: About localization

Posted by Christian Aguilar <xt...@gmail.com>.
Thanks a lot. That reference is very good.

On 12/13/05, CDoremus@hannaford.com <CD...@hannaford.com> wrote:
>
>
> Christian,
> See the java.util.ResourceBundle javadoc for an explanation of
> ResourceBundles. Also note that the bundle, portlet_en.properties and
> portlet_de.properties in your example need to be in the classpath, which
> would be the WEB-INF/classes directory in your example (see also
> http://java.sun.com/docs/books/tutorial/i18n/resbundle/index.html).
> /Craig
>
>
>
>   *Christian Aguilar <xt...@gmail.com>*
>
> 12/13/2005 12:24 PM   Please respond to
> pluto-user@portals.apache.org
>
>    To
> pluto-user@portals.apache.org  cc
>   Subject
> About localization
>
>
>
>
> Hi guys:
>
> Could you give information about what this lines exactly mean in the file
> portlet.xml, or there is a good tutorial about this.
>
>
> <supported-locale>en</supported-locale>
>
> <supported-locale>de</supported-locale>
>
> <resource-bundle>portlet</resource-bundle>
>
> *thanks in advance*
>
>

Re: About localization

Posted by CD...@hannaford.com.
Christian,
See the java.util.ResourceBundle javadoc for an explanation of 
ResourceBundles. Also note that the bundle, portlet_en.properties and 
portlet_de.properties in your example need to be in the classpath, which 
would be the WEB-INF/classes directory in your example (see also 
http://java.sun.com/docs/books/tutorial/i18n/resbundle/index.html).
/Craig




Christian Aguilar <xt...@gmail.com> 
12/13/2005 12:24 PM
Please respond to
pluto-user@portals.apache.org


To
pluto-user@portals.apache.org
cc

Subject
About localization






Hi guys:
 
Could you give information about what this lines exactly mean in the file 
portlet.xml, or there is a good tutorial about this.
 
<supported-locale>en</supported-locale>
<supported-locale>de</supported-locale>
<resource-bundle>portlet</resource-bundle>
thanks in advance