<?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: How to implement makeTranslation? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-implement-maketranslation/m-p/124317#M87483</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;almost a year has passed, is it still true that the mlDocument aspect cannot be set from a script?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Sep 2008 09:58:41 GMT</pubDate>
    <dc:creator>ostein</dc:creator>
    <dc:date>2008-09-26T09:58:41Z</dc:date>
    <item>
      <title>How to implement makeTranslation?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-implement-maketranslation/m-p/124313#M87479</link>
      <description>Hi,I need to make my nodes multilingual from a script and therefore need a way to emulate from script what a user can do by clicking the "Make multilingual" property in the Web Client.I first thought that it suffices to add the aspect "cm:mlDocument", but this results in an exception. Digging a litt</description>
      <pubDate>Thu, 27 Sep 2007 19:12:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-implement-maketranslation/m-p/124313#M87479</guid>
      <dc:creator>hbf</dc:creator>
      <dc:date>2007-09-27T19:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to implement makeTranslation?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-implement-maketranslation/m-p/124314#M87480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thinking about it a little more, wouldn't it be more elegant to have &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;addAspect('cm:mlDocment', options)&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;STRONG&gt;trigger&lt;/STRONG&gt;&lt;SPAN&gt; a function makeTranslation() which would then do the remaining tasks?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(I do not know the Alfresco source code good enough Ã¢â‚¬â€œÃ‚Â&amp;nbsp;it might be that the above simply doesn't work. But it would be in accordance with many features of Alfresco: "just add an aspect"Ã¢â‚¬Â¦)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2007 19:26:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-implement-maketranslation/m-p/124314#M87480</guid>
      <dc:creator>hbf</dc:creator>
      <dc:date>2007-09-27T19:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to implement makeTranslation?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-implement-maketranslation/m-p/124315#M87481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hm, quite some time has passed. So let me ask differently, maybe an Alfresco engineer or insider can answer this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is adding the 'cm:mlDocument' aspect the way to go if I want to add translations to a node? (Or is this aspect not supported anymore/superceded by another mechanism?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If yes then it just means that this issue is a bug/missing implementation and will be fixed at some point in the future, right?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Of course, I'd be relieved to hear a 'yes (no), yes' answer &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; !&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2007 23:15:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-implement-maketranslation/m-p/124315#M87481</guid>
      <dc:creator>hbf</dc:creator>
      <dc:date>2007-10-16T23:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to implement makeTranslation?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-implement-maketranslation/m-p/124316#M87482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You are correct in that there is no ML support in the JavaScript (or other script based) APIs in Alfresco yet. The only realistic route is the Java API because as you spotted you need to call multilingualContentService.makeTranslation() - there is no way around this as this method performs work not possible in the JavaScript API otherwise.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A way to make it possible to call from scripts, is to write your Java code and make it into a repository Action class. You can call Action classes from the JavaScript API! This means you would only write the Java code once and make it reusable by all scripts.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2007 10:57:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-implement-maketranslation/m-p/124316#M87482</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2007-10-23T10:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to implement makeTranslation?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-implement-maketranslation/m-p/124317#M87483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;almost a year has passed, is it still true that the mlDocument aspect cannot be set from a script?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2008 09:58:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-implement-maketranslation/m-p/124317#M87483</guid>
      <dc:creator>ostein</dc:creator>
      <dc:date>2008-09-26T09:58:41Z</dc:date>
    </item>
  </channel>
</rss>

