This plugin is used to register the external resource bundle for the internationalized activity type.
Sample configuration:
<component-plugin>
<name>exosocial:spaces</name>
<!-- activity type -->
<set-method>addActivityResourceBundlePlugin</set-method>
<type>org.exoplatform.social.core.processor.ActivityResourceBundlePlugin</type>
<init-params>
<object-param>
<name>locale.social.Core</name>
<!-- resource bundle key file -->
<description>activity key type resource bundle mapping for exosocial:spaces</description>
<object type="org.exoplatform.social.core.processor.ActivityResourceBundlePlugin">
<field name="activityKeyTypeMapping">
<map type="java.util.HashMap">
<entry>
<key>
<string>space_created</string>
</key>
<value>
<string>SpaceActivityPublisher.space_created</string>
</value>
</entry>
<entry>
<key>
<string>manager_role_granted</string>
</key>
<value>
<string>SpaceActivityPublisher.manager_role_granted</string>
</value>
</entry>
<entry>
<key>
<string>manager_role_revoked</string>
</key>
<value>
<string>SpaceActivityPublisher.manager_role_revoked</string>
</value>
</entry>
<entry>
<key>
<string>has_joined</string>
</key>
<value>
<string>SpaceActivityPublisher.has_joined</string>
</value>
</entry>
<entry>
<key>
<string>has_left</string>
</key>
<value>
<string>SpaceActivityPublisher.has_left</string>
</value>
</entry>
<entry>
<key>
<string>user_joined</string>
</key>
<value>
<string>SpaceActivityPublisher.user_joined</string>
</value>
</entry>
<entry>
<key>
<string>member_left</string>
</key>
<value>
<string>SpaceActivityPublisher.member_left</string>
</value>
</entry>
<entry>
<key>
<string>space_renamed</string>
</key>
<value>
<string>SpaceActivityPublisher.space_renamed</string>
</value>
</entry>
<entry>
<key>
<string>space_description_edited</string>
</key>
<value>
<string>SpaceActivityPublisher.space_description_edited</string>
</value>
</entry>
<entry>
<key>
<string>space_avatar_edited</string>
</key>
<value>
<string>SpaceActivityPublisher.space_avatar_edited</string>
</value>
</entry>
</map>
</field>
</object>
</object-param>
</init-params>
</component-plugin>
In which:
        Name: 
        exosocial:spaces
      
        Set-method: 
        addActivityResourceBundlePlugin
      
        Type: 
        org.exoplatform.social.core.processor.ActivityResourceBundlePlugin
      
Init-params:
| Object-param | Description | 
|---|---|
| locale.social.Core | The resource bundle key file. |