Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Introduction

This document describes the steps to create a plugin to change the UI labels and API error messages. This guide is intended for developers or technical IT staff.

Download plugin

Download the sample plugin and extract the downloaded plugin zip into a directory. Henceforth the exploded plugin directory is referred as $PLUGIN_HOME.

Resources files

All labels and messages are stored in locale based resource files. There are two resource files:

  1. en.js: The default English resource file for user interface labels and messages (e.g. fields displayed in a page).
  2. messages.properties: The default English resource file for messages generated by the backend (e.g. an unique constraint violation error).

Changing UI labels

You can create your own en.js file in your plugin and override the resources you need to change. 

...