Page tree

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

General information: a plugin management feature is planned for the future, until then plugins have to be installed and configured by hand as described in this document.

Installation

To install a translate5-plugin, put it into the folder

  /application/modules/editor/Plugins

To install plugin-specific sql, run the translate5 updater.

Activation

To activate a plugin, include its bootstrap class-name in the "runtimeOptions.plugins.active" configuration.

Therefore add the bootstrap class name to the JSON list in the "value" column of the db-table Zf_configuration where the name is "runtimeOptions.plugins.active".

To enable most of the currently available core-plugins configure this:

["editor_Plugins_LockSegmentsBasedOnConfig_Bootstrap","editor_Plugins_NoMissingTargetTerminology_Bootstrap","editor_Plugins_SegmentStatistics_Bootstrap","editor_Plugins_TermTagger_Bootstrap","editor_Plugins_Transit_Bootstrap","editor_Plugins_ManualStatusCheck_Bootstrap"]

Deactivation / Deinstallation

To deactivate a plugin, remove its bootstrap classname from the above mentioned configuration.

Ensure, that no running processes / workers are using the plugin. Otherwise this could lead to problems.

After deactivation a plugin can be deinstalled by executing the deinstall_*.sql scripts in the plugins database directory, then the whole plugin directory can be removed.

 

  • No labels