Hi
I use the menuBar(DataFolder) constructor to automatically build a MenuBar from
actions registered in the layer.xml:
menuBar = new
MenuBar(DataFolder.findFolder(FileUtil.getConfigFile("MyMenuBar")));
And below is an example of the ImportMix action in the "MixFile" submenu:
@ActionID(category = "MixConsole", id =
"org.jjazz.ui.mixconsole.actions.importmix")
@ActionRegistration(displayName = "#CTL_ImportMix", lazy = true)
@ActionReferences(
{
@ActionReference(path = "MyMenuBar/MixFile", position = 200)
})
public class ImportMix extends AbstractAction
This works well and I can localize the ImportMix action name.
However how to localize the submenu name ? ("MixFile" in the example)