<?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 Wrong locale with the Java Web service in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/wrong-locale-with-the-java-web-service/m-p/250456#M203586</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi everyone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm having some issues with my Alfresco Community 3.4d and I'd like to know if I have done something wrong, or forgotten to do something important.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've installed Alfresco and Share on a server and configured them to suit my needs. No issue here: new aspect, custom properties… Then, I've created some files (with Share) with a title and a description (cm:titled aspect + some of my custom aspects as well). Still no issue. On another computer, I'm using the Alfresco Java Web service client to access those data. Still works like a charm. But then, that's where things get complicated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've created some user accounts for my coworkers to create and modify those files (title, description and content among other things). Everything went smoothly in Share. However, whenever I try to access those modification using the Alfresco Web service, I can't see them on title and description. I can however see them on my customized properties (mostly cm:text fields). I was wondering if I had done something wrong in the call but I have bump into something, I believe, is related. When I connect to Alfresco Explorer with my admin account, I can't see the modifications my coworkers have done. However, if I change the Content filter language in my user profile to French (All our Share user account are in French), I can see them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So I was wondering: is there anyway to disable that feature (although I've already disable the multilingual feature) on mltext fields? Is there anyway to indicate what locale I want the web service to use?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Oct 2011 09:28:05 GMT</pubDate>
    <dc:creator>elvo</dc:creator>
    <dc:date>2011-10-12T09:28:05Z</dc:date>
    <item>
      <title>Wrong locale with the Java Web service</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/wrong-locale-with-the-java-web-service/m-p/250456#M203586</link>
      <description>Hi everyone,I'm having some issues with my Alfresco Community 3.4d and I'd like to know if I have done something wrong, or forgotten to do something important.I've installed Alfresco and Share on a server and configured them to suit my needs. No issue here: new aspect, custom properties… Then, I've</description>
      <pubDate>Wed, 12 Oct 2011 09:28:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/wrong-locale-with-the-java-web-service/m-p/250456#M203586</guid>
      <dc:creator>elvo</dc:creator>
      <dc:date>2011-10-12T09:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong locale with the Java Web service</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/wrong-locale-with-the-java-web-service/m-p/250457#M203587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You have hit one of the most annoying features in Alfresco: &lt;/SPAN&gt;&lt;A href="https://issues.alfresco.com/jira/browse/ALF-3756" rel="nofollow noopener noreferrer"&gt;https://issues.alfresco.com/jira/browse/ALF-3756&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;The issue filed there is marked as resolved… it is not.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For documents, you can just skip using those fields, and create your own non multilingual text fields, and update your forms for those fields.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately the title and description are "hardcoded" in Share document listings, so you wont see your custom fields there, unless you do some coding. In 4.0 this can be done with mostly config.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2011 12:30:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/wrong-locale-with-the-java-web-service/m-p/250457#M203587</guid>
      <dc:creator>loftux</dc:creator>
      <dc:date>2011-10-12T12:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong locale with the Java Web service</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/wrong-locale-with-the-java-web-service/m-p/250458#M203588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for your response and for the link.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think I've found a temporary fix, but I'd like your opinion on it. Looking at the source code of the API (for know I'm only interested in the Web service calls), I've found that there is no call to I18NUtil.setContentLocale to indicate the desired user's locale in any of the implemented Web methods. I've put together a filter for all of the Web service API and forcing the content language to fr (French) and it works. Same thing when I intentionally set the content language in the filter to en (English), even though that's not what I'm interested in right now&amp;nbsp; &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; .&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think that solves my problem, but it's not as good as I want it to be. The best way (I think) would be to use the Content Language Filter from the user logged in with the Authentication Web Service. Do you know any way to access the user's preference from a filter with the Web service API?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 08:29:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/wrong-locale-with-the-java-web-service/m-p/250458#M203588</guid>
      <dc:creator>elvo</dc:creator>
      <dc:date>2011-10-13T08:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong locale with the Java Web service</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/wrong-locale-with-the-java-web-service/m-p/250459#M203589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry, can't give an opinion on your suggested workaround since I havent worked with web services at all. Hopefully someone who has can jump in and give an opinion.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What is good news is that the issue was reopened yesterday &lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://connect.hyland.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt; so eventually we will get a fix for this.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 08:39:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/wrong-locale-with-the-java-web-service/m-p/250459#M203589</guid>
      <dc:creator>loftux</dc:creator>
      <dc:date>2011-10-13T08:39:12Z</dc:date>
    </item>
  </channel>
</rss>

