Localizing Your Customized Application

If you want to localize your new application, you must configure it to use the correct localization files. To do this, unregister Workapp and register your new application.

Procedure

  1. Edit MyWorkCtrl.js to configure your new application to use it's translation files.
  2. Uncomment the following code:
    // app.run(['BPMTranslationServiceConfig', function(BPMTranslationServiceConfig) {
    // 	BPMTranslationServiceConfig.registerApp("MyApp_name_here", null);
    // }]);
  3. Unregister the Workapp application. For example:
    BPMTranslationServiceConfig.unregisterApp(workapp,null);
  4. Register your new application. For example:
    Change:
    BPMTranslationServiceConfig.registerApp(workapp,null);
    to:
    BPMTranslationServiceConfig.registerApp("applicationName", null);
    where applicationName is the name of your new application.