ResourceBundle

ResourceBundle bean attributes

A ResourceBundle is created using a Spring bean with the following attributes:

Attribute Value Description
id User-defined A unique ID for the bean.
parent org.alfresco.i18n.ResourceBundleBootstrapComponent The parent bean.

ResourceBundle bean properties

The ResourceBundle bean takes the following properties:

Property Type Mandatory Description
resourceBundles List <String> Required List of resource bundles.

ResourceBundle bean example

<bean id="dita.actionResourceBundles" class="org.alfresco.i18n.ResourceBundleBootstrapComponent">
  <property name="resourceBundles">
    <list>
      <value>com.componize.alfresco.repo.messages.dita-actions</value>
    </list>
  </property>
</bean>

Debugging

To debug your ResourceBundle, add the following entry to your log4j.properties file:

log4j.logger.org.alfresco.i18n=debug