<?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>Headless API with possibility to return multiple translation values</title>
  <link rel="self" href="https://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=123308777" />
  <subtitle>Headless API with possibility to return multiple translation values</subtitle>
  <id>https://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=123308777</id>
  <updated>2026-04-09T12:10:52Z</updated>
  <dc:date>2026-04-09T12:10:52Z</dc:date>
  <entry>
    <title>RE: Headless API with possibility to return multiple translation values</title>
    <link rel="alternate" href="https://liferay.dev/en/c/message_boards/find_message?p_l_id=119785294&amp;messageId=123325998" />
    <author>
      <name>Jamie Sammons</name>
    </author>
    <id>https://liferay.dev/en/c/message_boards/find_message?p_l_id=119785294&amp;messageId=123325998</id>
    <updated>2025-03-28T15:50:20Z</updated>
    <published>2025-03-28T15:50:20Z</published>
    <summary type="html">&lt;p&gt;Feature Request Created: https://liferay.atlassian.net/browse/LPD-52318&lt;/p&gt;</summary>
    <dc:creator>Jamie Sammons</dc:creator>
    <dc:date>2025-03-28T15:50:20Z</dc:date>
  </entry>
  <entry>
    <title>Headless API with possibility to return multiple translation values</title>
    <link rel="alternate" href="https://liferay.dev/en/c/message_boards/find_message?p_l_id=119785294&amp;messageId=123308776" />
    <author>
      <name>Jonas Wanner</name>
    </author>
    <id>https://liferay.dev/en/c/message_boards/find_message?p_l_id=119785294&amp;messageId=123308776</id>
    <updated>2025-03-26T15:29:32Z</updated>
    <published>2025-03-18T12:52:42Z</published>
    <summary type="html">&lt;p&gt;Currently there is a headless API to retreive the values for language keys. &lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;o/language/v1.0/messages?key=map&amp;amp;languageId=de_DE&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The endpoint is currently limited to only one value which would mean
  that I need to make hundreds of requests for a single application if I
  want to use the liferay translations feature.&lt;/p&gt;
&lt;p&gt;We need an endpoint where we can get multiple values with one single
  request, like: &lt;/p&gt;
&lt;pre&gt;
&lt;code class="language-java"&gt;o/language/v1.0/messages?key=map&amp;amp;key=sort-by&amp;amp;key=install&amp;amp;languageId=de_DE&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;(just as example. maybe its better to pass the required keys as json body)&lt;/p&gt;
&lt;p&gt;Also: it would be great if there was an endpoint which returns every
  single language value where the key starts with a specific string.
  This would enable to prefix the language keys like
  &amp;quot;application.xyz.sort&amp;quot; and
  &amp;quot;application.xyz.freeze&amp;quot; and request the values with a
  single request instead of passing all keys which are needed.&lt;/p&gt;</summary>
    <dc:creator>Jonas Wanner</dc:creator>
    <dc:date>2025-03-18T12:52:42Z</dc:date>
  </entry>
</feed>
