<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Portlet title - using common resource bundle for all portlets</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=15010488" />
  <subtitle>Portlet title - using common resource bundle for all portlets</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=15010488</id>
  <updated>2026-04-07T17:14:54Z</updated>
  <dc:date>2026-04-07T17:14:54Z</dc:date>
  <entry>
    <title>RE: Portlet title - using common resource bundle for all portlets</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=15029123" />
    <author>
      <name>Shalbha Garg</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=15029123</id>
    <updated>2012-07-25T16:48:49Z</updated>
    <published>2012-07-25T16:48:49Z</published>
    <summary type="html">I have 1 WAR 1 portlet.xml with multiple portlets and according to following documentation&lt;br /&gt;&lt;br /&gt;http://www.liferay.com/es/community/wiki/-/wiki/Main/Portlet+Localization+-+Outside+Liferay#section-Portlet+Localization+-+Outside+Liferay-Portlet+Title&lt;br /&gt;&lt;br /&gt;i need to have resource bundle for each portlets. Is there a way i can get it to work with common resource bundle ?</summary>
    <dc:creator>Shalbha Garg</dc:creator>
    <dc:date>2012-07-25T16:48:49Z</dc:date>
  </entry>
  <entry>
    <title>RE: Portlet title - using common resource bundle for all portlets</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=15020481" />
    <author>
      <name>Pinkesh Gandhi</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=15020481</id>
    <updated>2012-07-25T07:50:16Z</updated>
    <published>2012-07-25T07:50:16Z</published>
    <summary type="html">Hi Sanjay,&lt;br /&gt;&lt;br /&gt;If you want to create site pages through portal UI then it is not possible. &lt;br /&gt;&lt;br /&gt;You must have to pass required values manually in UI at the time of page creation.&lt;br /&gt;&lt;br /&gt;But if you are trying to create site pages through your code then you can do it by reading property file.&lt;br /&gt;&lt;br /&gt;I hope it might resolved your query.</summary>
    <dc:creator>Pinkesh Gandhi</dc:creator>
    <dc:date>2012-07-25T07:50:16Z</dc:date>
  </entry>
  <entry>
    <title>RE: Portlet title - using common resource bundle for all portlets</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=15017971" />
    <author>
      <name>Shalbha Garg</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=15017971</id>
    <updated>2012-07-25T06:41:07Z</updated>
    <published>2012-07-25T06:41:07Z</published>
    <summary type="html">Thank you. &lt;br /&gt;How do i achieve the same for Site page name ?.&lt;br /&gt;&lt;br /&gt;I have created a site with private and public pages. I would like to derive the name of the page from the custom resource bundle</summary>
    <dc:creator>Shalbha Garg</dc:creator>
    <dc:date>2012-07-25T06:41:07Z</dc:date>
  </entry>
  <entry>
    <title>RE: Portlet title - using common resource bundle for all portlets</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=15014944" />
    <author>
      <name>Hitoshi Ozawa</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=15014944</id>
    <updated>2012-07-24T22:39:49Z</updated>
    <published>2012-07-24T22:39:49Z</published>
    <summary type="html">Portlet id is the name declared in the portlet.xml.&lt;br /&gt;&lt;br /&gt;e.g. In the following example from liferay&amp;#39;s portlet-custom.xml, portlet-id is 2.&lt;br /&gt;		&amp;lt;portlet-name&amp;gt;2&amp;lt;/portlet-name&amp;gt;</summary>
    <dc:creator>Hitoshi Ozawa</dc:creator>
    <dc:date>2012-07-24T22:39:49Z</dc:date>
  </entry>
  <entry>
    <title>RE: Portlet title - using common resource bundle for all portlets</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=15010693" />
    <author>
      <name>Shalbha Garg</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=15010693</id>
    <updated>2012-07-24T17:18:12Z</updated>
    <published>2012-07-24T17:18:12Z</published>
    <summary type="html">Thanks Pinkesh,&lt;br /&gt;&lt;br /&gt;I am assuming the protlet-id is as defined for individual portlets in liferay-display.xml</summary>
    <dc:creator>Shalbha Garg</dc:creator>
    <dc:date>2012-07-24T17:18:12Z</dc:date>
  </entry>
  <entry>
    <title>RE: Portlet title - using common resource bundle for all portlets</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=15011473" />
    <author>
      <name>Pinkesh Gandhi</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=15011473</id>
    <updated>2012-07-24T17:06:33Z</updated>
    <published>2012-07-24T17:06:33Z</published>
    <summary type="html">Hi Sanjay,&lt;br /&gt;&lt;br /&gt;Please try with following concept, hope it may helps you&lt;br /&gt;&lt;br /&gt;javax.portlet.title.&amp;lt;portlet-id&amp;gt;=Portlet Title&lt;br /&gt;&lt;br /&gt;For e.g.,&lt;br /&gt;&lt;br /&gt;javax.portlet.title.my-portlet=My Test Portlet</summary>
    <dc:creator>Pinkesh Gandhi</dc:creator>
    <dc:date>2012-07-24T17:06:33Z</dc:date>
  </entry>
  <entry>
    <title>Portlet title - using common resource bundle for all portlets</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=15010487" />
    <author>
      <name>Shalbha Garg</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=15010487</id>
    <updated>2012-07-24T16:59:44Z</updated>
    <published>2012-07-24T16:59:44Z</published>
    <summary type="html">Hi,&lt;br /&gt;&lt;br /&gt;We use a common resource bundle containing translatable strings for 8 different languages&lt;br /&gt;&lt;br /&gt;mycompany_en_US.properties&lt;br /&gt;mycompany_es_US.properties&lt;br /&gt;...&lt;br /&gt;...&lt;br /&gt;...&lt;br /&gt;&lt;br /&gt;i have 3 portlets and i have defined resource bundle in portlet.xml&lt;br /&gt;&amp;lt;resource-bundle&amp;gt;mycompany&amp;lt;/resource-bundle&amp;gt;&lt;br /&gt;&lt;br /&gt;As per the documentation each resource bundle can i have one entry for javax.portlet.title. &lt;br /&gt;&lt;br /&gt;As i have 3 portlets with different titles using a common resource bundle. How do i define different titles for each of my portlet in resourcebundle and reference them in portlet.xml</summary>
    <dc:creator>Shalbha Garg</dc:creator>
    <dc:date>2012-07-24T16:59:44Z</dc:date>
  </entry>
</feed>
