<?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 Different locale appear on one page in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/different-locale-appear-on-one-page/m-p/276110#M229240</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have made some customization to allow the user to choose locale when they logon the alfresco share(use a localResolver java class to set the I18NUtil.setLocal()), it works, but with some issue…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I choose English local, after logon, most of the page will display English, while the site activity dashlet display different locale(zh_CN, my browser is defualt zh_CN).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have checked the activity-list.get.html.ftl, which is used to retrieve the activities in an ajax request, it alwasy pick up the zh_CN locale, the ${locale} variable is zh_CN in this template, so, I wish to debug the ${msg()} method in this freemarker template. The question is coming: what is this "msg" method? A freemarker method or a javascript function? If it is freemarker method, what is the underline java class to implement this method? I'm a fressman to freemarker, please help me!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Another question is anybody have any idea about why it will display different locale in one page? I believe the final language handler is I18NUtil.getMessage(), the locale is stored in the current thread, why different web script on the same page will retrieve different locale? Is that mean different web script is executed by differnt threads?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 May 2012 14:57:37 GMT</pubDate>
    <dc:creator>smilehahohi</dc:creator>
    <dc:date>2012-05-22T14:57:37Z</dc:date>
    <item>
      <title>Different locale appear on one page</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/different-locale-appear-on-one-page/m-p/276110#M229240</link>
      <description>Hi all,I have made some customization to allow the user to choose locale when they logon the alfresco share(use a localResolver java class to set the I18NUtil.setLocal()), it works, but with some issue…If I choose English local, after logon, most of the page will display English, while the site acti</description>
      <pubDate>Tue, 22 May 2012 14:57:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/different-locale-appear-on-one-page/m-p/276110#M229240</guid>
      <dc:creator>smilehahohi</dc:creator>
      <dc:date>2012-05-22T14:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Different locale appear on one page</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/different-locale-appear-on-one-page/m-p/276111#M229241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think this post will guide you&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://forums.alfresco.com/en/viewtopic.php?f=16&amp;amp;t=23395" rel="nofollow noopener noreferrer"&gt;https://forums.alfresco.com/en/viewtopic.php?f=16&amp;amp;t=23395&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2012 09:14:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/different-locale-appear-on-one-page/m-p/276111#M229241</guid>
      <dc:creator>mitpatoliya</dc:creator>
      <dc:date>2012-05-23T09:14:18Z</dc:date>
    </item>
  </channel>
</rss>

