Creating a custom combine languages plugin

You can create custom combine languages plugins to meet specific needs and requirements. Follow the best practices and use the "publish combine languages plugin creation example" as guidelines for this task.

  1. Choose the category of the plugin. This plugin is called at a specific moment in time. Any custom plugin should minimally combine the maps of the different languages into one root map and return the file path to this root map. Of course, this plugin can also be used to do other custom processing that is related to multiple languages in one publication.
  2. Implement Initialize. Here the plugin should read its parameters and parse their values.
  3. Implement Run. Here you put the main logic of the plugin. Anything that plugin can do is available to it through the configuration, which includes:
    1. Common parameters for the complete publish operation
    2. Plugin specific parameters
    3. XmlResolver to resolve DTDs
    4. LogService and EventMonitor interface which can be used for logging
  4. Expose the plugin using the Export attribute to make sure that the plugin engine can discover the plugin.