<?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>Translation of javax.portlet.display-name</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=106616560" />
  <subtitle>Translation of javax.portlet.display-name</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=106616560</id>
  <updated>2026-06-02T19:48:40Z</updated>
  <dc:date>2026-06-02T19:48:40Z</dc:date>
  <entry>
    <title>RE: Translation of javax.portlet.display-name</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=106769384" />
    <author>
      <name>David H Nebinger</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=106769384</id>
    <updated>2018-04-17T13:08:06Z</updated>
    <published>2018-04-17T13:08:06Z</published>
    <summary type="html">Well, you asked for how to translate display name, not title...&lt;br /&gt;&lt;br /&gt;&lt;img alt="emoticon" src="@theme_images_path@/emoticons/smile.gif" &gt;</summary>
    <dc:creator>David H Nebinger</dc:creator>
    <dc:date>2018-04-17T13:08:06Z</dc:date>
  </entry>
  <entry>
    <title>RE: Translation of javax.portlet.display-name</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=106761687" />
    <author>
      <name>E W</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=106761687</id>
    <updated>2018-04-17T11:12:41Z</updated>
    <published>2018-04-17T11:12:41Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;div class="quote-title"&gt;David H Nebinger:&lt;/div&gt;&lt;blockquote&gt;&lt;br&gt;&lt;pre&gt;&lt;code&gt;javax.portlet.display-name.&amp;lt;portlet-name&amp;gt;=Localizable Portlet Display Name&amp;lt;/portlet-name&amp;gt;&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;/blockquote&gt;&lt;br&gt;&lt;br&gt;David, you were almost right...but it's not &lt;pre&gt;&lt;code&gt;javax.portlet.display-name.&amp;lt;portlet-name&amp;gt; = Localizable Portlet Name&amp;lt;/portlet-name&amp;gt;&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;but &lt;pre&gt;&lt;code&gt;javax.portlet.title.&amp;lt;portlet-name&amp;gt; = Localizable Portlet Name&amp;lt;/portlet-name&amp;gt;&lt;/code&gt;&lt;/pre&gt; for the portlet's name as  shown in the 'Add Applications' list.&lt;br&gt;&lt;br&gt;But thanks anyway!&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>E W</dc:creator>
    <dc:date>2018-04-17T11:12:41Z</dc:date>
  </entry>
  <entry>
    <title>RE: Translation of javax.portlet.display-name</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=106686962" />
    <author>
      <name>E W</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=106686962</id>
    <updated>2018-04-16T08:09:11Z</updated>
    <published>2018-04-16T08:09:11Z</published>
    <summary type="html">Hi David,&lt;br /&gt;&lt;br /&gt;Thanks for your message. Unfortunately it doesn&amp;#39;t work for me (yet). I tried several things:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Removed the display-name in the &lt;em&gt;@Component&lt;/em&gt; section.&lt;/li&gt;&lt;li&gt;Added a &lt;em&gt;javax.portlet.display-name.&amp;lt;portlet-name&amp;gt;&lt;/em&gt; property in the Language.properties files &lt;em&gt;(src/main/resources/content/Language.properties)&lt;/em&gt;. This is referenced in the @Component section with &lt;em&gt;&amp;#34;javax.portlet.resource-bundle=content.Language&amp;#34;&lt;/em&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;That didn&amp;#39;t do the trick, so I tried adding the package name to the &amp;lt;portlet-name&amp;gt;,  package name parts separated with periods as well as with underscores like so:&lt;br /&gt;&lt;br /&gt;&lt;em&gt;javax.portlet.display-name.packagenamepart1.packagenamepart2.PortletName =&lt;br /&gt;javax.portlet.display-name.packagenamepart1_packagenamepart2_PortletName = &lt;br /&gt;&lt;/em&gt;&lt;br /&gt;But that didn&amp;#39;t work either.  &lt;br /&gt;&lt;br /&gt;I must be missing something here I guess, do you have another suggestion/clue for me?</summary>
    <dc:creator>E W</dc:creator>
    <dc:date>2018-04-16T08:09:11Z</dc:date>
  </entry>
  <entry>
    <title>RE: Translation of javax.portlet.display-name</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=106621566" />
    <author>
      <name>David H Nebinger</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=106621566</id>
    <updated>2018-04-13T12:52:30Z</updated>
    <published>2018-04-13T12:52:30Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;When set in the properties of the @Component for the portlet class, there is no way to localize the value.&lt;br&gt;&lt;br&gt;However, you can have a resource bundle in the bundle with keys like:&lt;br&gt;&lt;br&gt;&lt;pre&gt;&lt;code&gt;javax.portlet.display-name.&amp;lt;portlet-name&amp;gt;=Localizable Portlet Display Name&amp;lt;/portlet-name&amp;gt;&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;Since it is in a resource bundle, it is now localizable.&lt;br&gt;&lt;br&gt;If you use the Blade CLI or the Liferay IDE to create a new portlet from the LiferayMVC portlet type, you'll get the starter resource bundle you need.&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>David H Nebinger</dc:creator>
    <dc:date>2018-04-13T12:52:30Z</dc:date>
  </entry>
  <entry>
    <title>Translation of javax.portlet.display-name</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=106616559" />
    <author>
      <name>E W</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=106616559</id>
    <updated>2018-04-13T10:57:36Z</updated>
    <published>2018-04-13T10:57:36Z</published>
    <summary type="html">How can I translate the value of the property javax.portlet.display-name? &lt;br /&gt;In &lt;a href="https://dev.liferay.com/es/develop/tutorials/-/knowledge_base/7-0/adding-metadata"&gt;this &lt;/a&gt;article I read &lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;Note the value of the javax.portlet.display-name property: Guestbooks. This is the name that appears in the Site menu.&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;I&amp;#39;ve searched quite a bit of time to get a clue, but found nothing  yet.</summary>
    <dc:creator>E W</dc:creator>
    <dc:date>2018-04-13T10:57:36Z</dc:date>
  </entry>
</feed>
