<?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>Reply for LPS-183137 / LPS-187034 breaks DeepL</title>
  <link rel="self" href="https://liferay.dev/sv/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121903645" />
  <subtitle>Reply for LPS-183137 / LPS-187034 breaks DeepL</subtitle>
  <id>https://liferay.dev/sv/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121903645</id>
  <updated>2026-06-21T18:27:49Z</updated>
  <dc:date>2026-06-21T18:27:49Z</dc:date>
  <entry>
    <title>RE: Reply for LPS-183137 / LPS-187034 breaks DeepL</title>
    <link rel="alternate" href="https://liferay.dev/sv/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121915259" />
    <author>
      <name>Adolfo Pérez</name>
    </author>
    <id>https://liferay.dev/sv/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121915259</id>
    <updated>2023-07-10T09:34:25Z</updated>
    <published>2023-07-10T09:34:24Z</published>
    <summary type="html">&lt;p&gt;Thanks a lot for the fix. We've created the ticket and sent a PR
  linked to it: https://github.com/liferay-lima/liferay-portal/pull/4458.&lt;/p&gt;</summary>
    <dc:creator>Adolfo Pérez</dc:creator>
    <dc:date>2023-07-10T09:34:24Z</dc:date>
  </entry>
  <entry>
    <title>RE: Reply for LPS-183137 / LPS-187034 breaks DeepL</title>
    <link rel="alternate" href="https://liferay.dev/sv/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121908906" />
    <author>
      <name>Matthias Bläsing</name>
    </author>
    <id>https://liferay.dev/sv/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121908906</id>
    <updated>2023-07-10T15:14:38Z</updated>
    <published>2023-07-07T06:38:36Z</published>
    <summary type="html">&lt;p&gt;PR opened: https://github.com/liferay-lima/liferay-portal/pull/4453
  (at this point without an issue ID)&lt;/p&gt;</summary>
    <dc:creator>Matthias Bläsing</dc:creator>
    <dc:date>2023-07-07T06:38:36Z</dc:date>
  </entry>
  <entry>
    <title>Reply for LPS-183137 / LPS-187034 breaks DeepL</title>
    <link rel="alternate" href="https://liferay.dev/sv/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121903644" />
    <author>
      <name>Matthias Bläsing</name>
    </author>
    <id>https://liferay.dev/sv/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121903644</id>
    <updated>2023-07-07T01:26:21Z</updated>
    <published>2023-07-05T06:36:35Z</published>
    <summary type="html">&lt;p&gt;I was pinged by @Austin on JIRA in LPS-183137. As I can't work there
  anymore, I need a secretary here to push the information into the JIRA instrance:&lt;/p&gt;
&lt;p&gt;Please add a reply in https://liferay.atlassian.net/browse/LPS-183137
  (feel free to replace the last two sentences with a reference to the
  new issue):&lt;/p&gt;
&lt;p style="margin-left: 40.0px;"&gt;@Austin: Yes I can reproduce the
  problem. I also analysed it and found the issue in the refactoring
  done in LPS-187034. There are two different URLs used by the DeepL
  translator. One is used to fetch the valid languages and the second to
  do the translation. The mentioned issue ignores that and always uses
  the &amp;quot;validatedLanguageUrl&amp;quot;. I have a tested fix ready. As I
  can't open issues anymore I have to wait till one is opened for me.&lt;/p&gt;
&lt;p&gt;Please create a new issue to track the problem introduces by
  LPS-187034, so that I can reference it with a PR:&lt;/p&gt;
&lt;p style="margin-left: 40.0px;"&gt;Component:&lt;/p&gt;
&lt;p style="margin-left: 40.0px;"&gt;DeepL Translator&lt;/p&gt;
&lt;p style="margin-left: 40.0px;"&gt;Title:&lt;/p&gt;
&lt;p style="margin-left: 40.0px;"&gt;Wrong URL used for requesting
  translation in DeepL&lt;/p&gt;
&lt;p style="margin-left: 40.0px;"&gt;Text:&lt;/p&gt;
&lt;p style="margin-left: 40.0px;"&gt;The refactoring of the DeepL translator
  code to use the company configuration as basis for requests
  (LPS-187034) breaks translations because the wrong URL is used to
  create translation requests. There are two different URLs used by the
  DeepL translator. One is used to fetch the valid languages
  (validatedLanguageUrl) and the second to do the translation (url).
  After the refactoring for both cases `validatedLanguageUrl` is used,
  which breaks the translation call.&lt;/p&gt;
&lt;p style="margin-left: 40.0px;"&gt;I have a fix ready, I just need the
  issue ID.&lt;/p&gt;</summary>
    <dc:creator>Matthias Bläsing</dc:creator>
    <dc:date>2023-07-05T06:36:35Z</dc:date>
  </entry>
</feed>
