<?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 AMP with custom Bundle on Enterprise 2.1 in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/amp-with-custom-bundle-on-enterprise-2-1/m-p/194054#M147184</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Adding_Custom_I18N_Strings" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Adding_Custom_I18N_Strings&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;it say:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"When we refer to I18N strings in configuration files or programtically via the Application.getMessage() call the standard webclient.properties and your custom webclient.properties (if present) are loaded. "&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;after searching a lot i've found this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://issues.alfresco.com/jira/browse/AWC-1149" rel="nofollow noopener noreferrer"&gt;https://issues.alfresco.com/jira/browse/AWC-1149&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and it's associated forum topic:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.alfresco.com/en/viewtopic.php?t=5473" rel="nofollow noopener noreferrer"&gt;http://forums.alfresco.com/en/viewtopic.php?t=5473&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;it say that to register a custom bundle I should put this in the module-context.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;nbsp;&amp;nbsp; &amp;lt;bean id="bootstrapExtraBundlesBean" class="org.alfresco.web.app.ResourceBundleBootstrap"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="resourceBundles"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;list&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;alfresco.messages.my-extra-bundle&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;alfresco.messages.my-other-extra-bundle&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/list&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/bean&amp;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;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&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;BR /&gt;&lt;SPAN&gt;Probably it work on 2.2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but it doesn't on 2.1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've found this class:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.alfresco.i18n.ResourceBundleBootstrapComponent&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;on Alfresco 2.1 Enterprise&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;it don't give error at bootstrap but it doesn't resolve my messages in the custom bundle&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;====EDIT====&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Since i got no reply here I give some more info I found out myself.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* There's NO way on Alfresco 2.1 to put custom webclient.properties inside the module directory or in some custom path.¹&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* Since Alfresco 2.2 you CAN do it as described above&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;that's all..&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I only confirmed what i said up there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;sarcastic&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks for the support&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/sarcastic&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[¹] Note: on 2.1 you CAN use custom bundles as long as you are using them in your java classes and jsp! But you CAN'T use them with alfresco configuration files, like for defining localized strings for wizards steps for example. Or in some action definition.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Nov 2008 08:32:32 GMT</pubDate>
    <dc:creator>d_segato</dc:creator>
    <dc:date>2008-11-06T08:32:32Z</dc:date>
    <item>
      <title>AMP with custom Bundle on Enterprise 2.1</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/amp-with-custom-bundle-on-enterprise-2-1/m-p/194054#M147184</link>
      <description>Here:http://wiki.alfresco.com/wiki/Adding_Custom_I18N_Stringsit say:"When we refer to I18N strings in configuration files or programtically via the Application.getMessage() call the standard webclient.properties and your custom webclient.properties (if present) are loaded. "after searching a lot i'v</description>
      <pubDate>Thu, 06 Nov 2008 08:32:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/amp-with-custom-bundle-on-enterprise-2-1/m-p/194054#M147184</guid>
      <dc:creator>d_segato</dc:creator>
      <dc:date>2008-11-06T08:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: AMP with custom Bundle on Enterprise 2.1</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/amp-with-custom-bundle-on-enterprise-2-1/m-p/194055#M147185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sadly this fix seems not to be in Labs 3.3. Has anyone out there been able to set up module specific webclient.properties so that one module does not conflit with another?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 16:07:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/amp-with-custom-bundle-on-enterprise-2-1/m-p/194055#M147185</guid>
      <dc:creator>pmahoney</dc:creator>
      <dc:date>2009-04-22T16:07:57Z</dc:date>
    </item>
  </channel>
</rss>

