<?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>Remote Service with localized entities</title>
  <link rel="self" href="https://uat.liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=120750180" />
  <subtitle>Remote Service with localized entities</subtitle>
  <id>https://uat.liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=120750180</id>
  <updated>2026-10-15T10:47:53Z</updated>
  <dc:date>2026-10-15T10:47:53Z</dc:date>
  <entry>
    <title>Remote Service with localized entities</title>
    <link rel="alternate" href="https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120750179" />
    <author>
      <name>Mirko Romstadt</name>
    </author>
    <id>https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120750179</id>
    <updated>2021-04-30T09:43:41Z</updated>
    <published>2021-04-30T09:43:41Z</published>
    <summary type="html">&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;we have a service builder entity that has its title and description
  localized with the &amp;lt;localized-entity&amp;gt; tag in the service.xml,
  like this:&lt;/p&gt;
&lt;pre&gt;&amp;lt;localized-entity&amp;gt;
    &amp;lt;localized-column name=&amp;quot;title&amp;quot; /&amp;gt;
    &amp;lt;localized-column name=&amp;quot;description&amp;quot; /&amp;gt;
&amp;lt;/localized-entity&amp;gt;&lt;/pre&gt;
&lt;p&gt;We also have a remote service that delivers among others a list of
  these entities. But these entities are missing the title map and the
  description map, so we would need to implement and do another call to
  get these. This is not really reasonable if you want to display a list
  of these entities with its title.&lt;/p&gt;
&lt;p&gt;We had a look at the implementation of JournalArticle which uses
  localized titles, too. The remote
  service /api/jsonws?contextName=journal&amp;amp;signature=%2Fjournal.journalarticle%2Fget-articles-2-long-long
  also does not provide the localized fields. We also do not find any
  endpoint to get these localized fields.&lt;/p&gt;
&lt;p&gt;What are we missing? How is this supposed to work as a headless cms?&lt;/p&gt;
&lt;p&gt;Greetings,&lt;br /&gt;Mirko&lt;/p&gt;</summary>
    <dc:creator>Mirko Romstadt</dc:creator>
    <dc:date>2021-04-30T09:43:41Z</dc:date>
  </entry>
</feed>
