<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic ADF fetch metadata in desired language in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/adf-fetch-metadata-in-desired-language/m-p/7641#M3489</link>
    <description>&lt;P&gt;Is there a way to fetch data from ACS in different languages without changing the browser setttings?&lt;/P&gt;&lt;P&gt;Explanation:&lt;/P&gt;&lt;P&gt;I've created content model in Alfresco Content Services with some &lt;STRONG&gt;mltext&lt;/STRONG&gt; fields. Now I'am not able to fetch data using ADF in desired language. Internalization support documented here&amp;nbsp;&lt;A href="https://www.alfresco.com/abn/adf/docs/user-guide/internationalization/" target="_blank" rel="noopener nofollow noreferrer"&gt;https://www.alfresco.com/abn/adf/docs/user-guide/internationalization/&lt;/A&gt; covers only how to deal with "labels" on frontend, but not how to get data from Alfresco Repository in different languages.&amp;nbsp;&lt;/P&gt;&lt;P&gt;As per my understanding rest services on ACS use &lt;STRONG&gt;Accept-Language&lt;/STRONG&gt; header to determine locale, and when invoking services through SOAP-UI data is returned correctly with different values of Accept-Language header. But, since I'am using ADF and&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;AlfrescoApiService&lt;/STRONG&gt; service I'am not able to set custom header. Header is set based on browser settings which doesn't fit my needs. I have application with multi-language support and I don't want to force users to change these settings in order to change language.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;HttpInterceptor doesn't catch ACS rest service calls. Setting the locale on UserPreferenceService doesn't work either.&lt;/P&gt;</description>
    <pubDate>Tue, 06 Apr 2021 09:49:08 GMT</pubDate>
    <dc:creator>dejan-lazovic</dc:creator>
    <dc:date>2021-04-06T09:49:08Z</dc:date>
    <item>
      <title>ADF fetch metadata in desired language</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/adf-fetch-metadata-in-desired-language/m-p/7641#M3489</link>
      <description>&lt;P&gt;Is there a way to fetch data from ACS in different languages without changing the browser setttings?&lt;/P&gt;&lt;P&gt;Explanation:&lt;/P&gt;&lt;P&gt;I've created content model in Alfresco Content Services with some &lt;STRONG&gt;mltext&lt;/STRONG&gt; fields. Now I'am not able to fetch data using ADF in desired language. Internalization support documented here&amp;nbsp;&lt;A href="https://www.alfresco.com/abn/adf/docs/user-guide/internationalization/" target="_blank" rel="noopener nofollow noreferrer"&gt;https://www.alfresco.com/abn/adf/docs/user-guide/internationalization/&lt;/A&gt; covers only how to deal with "labels" on frontend, but not how to get data from Alfresco Repository in different languages.&amp;nbsp;&lt;/P&gt;&lt;P&gt;As per my understanding rest services on ACS use &lt;STRONG&gt;Accept-Language&lt;/STRONG&gt; header to determine locale, and when invoking services through SOAP-UI data is returned correctly with different values of Accept-Language header. But, since I'am using ADF and&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;AlfrescoApiService&lt;/STRONG&gt; service I'am not able to set custom header. Header is set based on browser settings which doesn't fit my needs. I have application with multi-language support and I don't want to force users to change these settings in order to change language.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;HttpInterceptor doesn't catch ACS rest service calls. Setting the locale on UserPreferenceService doesn't work either.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 09:49:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/adf-fetch-metadata-in-desired-language/m-p/7641#M3489</guid>
      <dc:creator>dejan-lazovic</dc:creator>
      <dc:date>2021-04-06T09:49:08Z</dc:date>
    </item>
  </channel>
</rss>

