<?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: MLtext within Javascript Webscript in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/mltext-within-javascript-webscript/m-p/259970#M213100</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Each webscript executes in a locale specified by the Accept Language http header.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You could change this by calling the Java API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I18NUtil.setLocale&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Nov 2010 21:46:31 GMT</pubDate>
    <dc:creator>mrogers</dc:creator>
    <dc:date>2010-11-22T21:46:31Z</dc:date>
    <item>
      <title>MLtext within Javascript Webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/mltext-within-javascript-webscript/m-p/259969#M213099</link>
      <description>Hello,I'm trying to figure out how to set or select language used inside a JavaScript back-end Webscript I'm currently setting title and description of a nodefileHandleFile.properties.title = titreHandleFile;fileHandleFile.properties.description = descriptionHandleFile;fileHandleFile.save();but i ca</description>
      <pubDate>Mon, 22 Nov 2010 14:13:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/mltext-within-javascript-webscript/m-p/259969#M213099</guid>
      <dc:creator>guillaumefranco</dc:creator>
      <dc:date>2010-11-22T14:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: MLtext within Javascript Webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/mltext-within-javascript-webscript/m-p/259970#M213100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Each webscript executes in a locale specified by the Accept Language http header.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You could change this by calling the Java API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I18NUtil.setLocale&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Nov 2010 21:46:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/mltext-within-javascript-webscript/m-p/259970#M213100</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2010-11-22T21:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: MLtext within Javascript Webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/mltext-within-javascript-webscript/m-p/259971#M213101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok for the Java API but I'm in a Javascript context so I can't simply put "I18NUtil.setLocale" into the js file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does Alfresco expose such functionality for Javascript Side or is it required to create a new BaseScopableProcessorExtension and would this work ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Nov 2010 13:38:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/mltext-within-javascript-webscript/m-p/259971#M213101</guid>
      <dc:creator>guillaumefranco</dc:creator>
      <dc:date>2010-11-23T13:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: MLtext within Javascript Webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/mltext-within-javascript-webscript/m-p/259972#M213102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Unfortunately changing the locale for MLText is not exposed via the JavaScript API. As the user in the post above mentions, the script executes with the locale as per the request for the webscript. Yes you could Spring in your own JavaScript root helper object to do this, or use a Java backed webscript.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kev&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Nov 2010 10:15:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/mltext-within-javascript-webscript/m-p/259972#M213102</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2010-11-24T10:15:27Z</dc:date>
    </item>
  </channel>
</rss>

