<?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 Re: WebScript and Multi Language in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/webscript-and-multi-language/m-p/133320#M93631</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Actually, web scripts are not sensitive to the browser locale.&amp;nbsp; It's something we're considering.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, the only way today to alter the run-time locale is to build your own derivation of DeclarativeWebScript/AbstractWebScript that calls I18NUtil.setLocale (and clears it again) for each request.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The Freemarker templates should operate as normal - call message(messageId) as described by &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Template_Guide#Default_Model_Methods" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Template_Guide#Default_Model_Methods&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Jan 2008 13:43:12 GMT</pubDate>
    <dc:creator>davidc</dc:creator>
    <dc:date>2008-01-28T13:43:12Z</dc:date>
    <item>
      <title>WebScript and Multi Language</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/webscript-and-multi-language/m-p/133319#M93630</link>
      <description>Hi,A question about multi language and webscripts:1) As far as I understand the language is taken from &amp;nbsp;&amp;nbsp;&amp;nbsp; the browsers setting when a webscript is invoked. &amp;nbsp;&amp;nbsp;&amp;nbsp; I our case the users can select a language on the page &amp;nbsp;&amp;nbsp;&amp;nbsp; and we don't want to use&amp;nbsp; the browser setting.&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; Is there any way where we&amp;nbsp; c</description>
      <pubDate>Mon, 28 Jan 2008 09:48:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/webscript-and-multi-language/m-p/133319#M93630</guid>
      <dc:creator>kma</dc:creator>
      <dc:date>2008-01-28T09:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: WebScript and Multi Language</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/webscript-and-multi-language/m-p/133320#M93631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Actually, web scripts are not sensitive to the browser locale.&amp;nbsp; It's something we're considering.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, the only way today to alter the run-time locale is to build your own derivation of DeclarativeWebScript/AbstractWebScript that calls I18NUtil.setLocale (and clears it again) for each request.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The Freemarker templates should operate as normal - call message(messageId) as described by &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Template_Guide#Default_Model_Methods" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Template_Guide#Default_Model_Methods&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2008 13:43:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/webscript-and-multi-language/m-p/133320#M93631</guid>
      <dc:creator>davidc</dc:creator>
      <dc:date>2008-01-28T13:43:12Z</dc:date>
    </item>
  </channel>
</rss>

