<?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: Getting I18N string from alfresco webscripts in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/getting-i18n-string-from-alfresco-webscripts/m-p/250386#M203516</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ouu! Thank you!!! I'm try to rename my properties file to "sample.get.properties" and from javascript getting I18N string with next code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;msg.get("sample");&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;My problem is solved, big thank you!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 03 Jun 2012 16:02:19 GMT</pubDate>
    <dc:creator>vladislavlysov</dc:creator>
    <dc:date>2012-06-03T16:02:19Z</dc:date>
    <item>
      <title>Getting I18N string from alfresco webscripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-i18n-string-from-alfresco-webscripts/m-p/250382#M203512</link>
      <description>Hello!&amp;nbsp; I have a question. It's a very simple, but I'm not found solution in wiki and forum. I have .property file with I18N string and webscript in alfresco(not in share). How to get I18N string from webscript? Share and ftl have a ways to do it, but alfresco webscript no?Thank you.</description>
      <pubDate>Fri, 01 Jun 2012 20:53:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-i18n-string-from-alfresco-webscripts/m-p/250382#M203512</guid>
      <dc:creator>vladislavlysov</dc:creator>
      <dc:date>2012-06-01T20:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: Getting I18N string from alfresco webscripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-i18n-string-from-alfresco-webscripts/m-p/250383#M203513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the mechanism is AFAIK the same for Repository and Share web scripts, so you should only need to locate/name your .properties file according to the web script package and id, and you should be good to go. Could you provide an overview of your web script resources so we might check if some convention is not properly adhered to?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Jun 2012 13:20:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-i18n-string-from-alfresco-webscripts/m-p/250383#M203513</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2012-06-02T13:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: Getting I18N string from alfresco webscripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-i18n-string-from-alfresco-webscripts/m-p/250384#M203514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes. My webscript is "sample.get.json.js" and property file "sample.get.json.properties" with string "sample=sample". I don't found solution for my problem. If you knw, please, show example code or function for getting i18n string from javascript webscript.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Jun 2012 20:26:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-i18n-string-from-alfresco-webscripts/m-p/250384#M203514</guid>
      <dc:creator>vladislavlysov</dc:creator>
      <dc:date>2012-06-02T20:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: Getting I18N string from alfresco webscripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-i18n-string-from-alfresco-webscripts/m-p/250385#M203515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;your properties file should be called "sample.get.properties", not "sample.get.json.properties". This is based on your web script whose id is "&amp;lt;package&amp;gt;.sample.get". Those json / html / xml parts in FreeMarker or JavaScript files are just for differentiating different format handlers of the same web script. Properties files are not format specific and thus do not contain these additional identifiers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Try it and let us know if it helps…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Jun 2012 12:27:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-i18n-string-from-alfresco-webscripts/m-p/250385#M203515</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2012-06-03T12:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: Getting I18N string from alfresco webscripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-i18n-string-from-alfresco-webscripts/m-p/250386#M203516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ouu! Thank you!!! I'm try to rename my properties file to "sample.get.properties" and from javascript getting I18N string with next code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;msg.get("sample");&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;My problem is solved, big thank you!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Jun 2012 16:02:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-i18n-string-from-alfresco-webscripts/m-p/250386#M203516</guid>
      <dc:creator>vladislavlysov</dc:creator>
      <dc:date>2012-06-03T16:02:19Z</dc:date>
    </item>
  </channel>
</rss>

