Studio Developer Manual / Version 2107
Table Of Contents
In CoreMedia Feedback Hub you may provide localization for the UI elements
in the FeedbackHubPanel of your adapter. The localization for Feedback Hub needs to be provided in an extra Feedback Hub extension for studio-client.
Within that extension you need to provide a StudioPlugin that holds the configuration which copies the resource bundle of your
adapter to the com.coremedia.cms.studio.feedbackhub.FeedbackHub.
<?xml version="1.0" encoding="UTF-8"?>
<editor:StudioPlugin
xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns="exml:ext.config"
xmlns:exml="http://www.jangaroo.net/exml/0.8"
xmlns:editor="exml:com.coremedia.cms.editor.sdk.config">
<fx:Metadata>
[ResourceBundle('com.coremedia.cms.studio.feedbackhub.FeedbackHub')]
[ResourceBundle('com.coremedia.blueprint.studio.feedbackhub.custom.FeedbackHubCustom')]
</fx:Metadata>
<fx:Script><![CDATA[
import mx.resources.ResourceManager;
public static const xtype:String = "com.coremedia.blueprint.studio.feedbackhub.custom.config.customFeedbackHubStudioPlugin";
public native function CustomFeedbackHubStudioPlugin(config:CustomFeedbackHubStudioPlugin = null);
]]></fx:Script>
<editor:configuration>
<editor:CopyResourceBundleProperties
destination="{ResourceManager.getInstance().getResourceBundle(null, 'com.coremedia.cms.studio.feedbackhub.FeedbackHub')}"
source="{ResourceManager.getInstance().getResourceBundle(null, 'com.coremedia.blueprint.studio.feedbackhub.custom.FeedbackHubCustom')}"/>
</editor:configuration>
</editor:StudioPlugin>
In your FeedbackHubCustom-bundle you can provide a localization for the following items. The <factoryId> value needs to match the factoryId of you configuration,
collection the value of the collection field of your com.coremedia.feedbackhub.items.FeedbackItem:
| Item | naming pattern | Description | |
|---|---|---|---|
| Main Tab Icon | <groupId>_iconCls | The tab icon that is shown for the tab of your adapter's groupID | |
| Main Tab Title | <groupId>_title | Title that is shown for the panel of you Adapter | |
| Main Tab Tooltip | <groupId>_tooltip | Tooltip that is shown for the panel of you Adapter | |
| Sub-Tab Title | <groupId>_<collection>_tab_title | The title of a collection tab | |
| Sub-Tab Tooltip | <groupId>_<collection>_tab_tooltip | The tooltip used for a collection tab |
Table 7.12. Localization for Custom Feedback Hub Adapter


