Localizing Custom Code

In order to be able to localize messages that appear to users and that are coded within Java in ExtraView's custom code modules, the messages must be correctly coded to conform to the output requirements.  Assuming the messages are correctly coded, the following procedure will integrate the messages into the appropriate message tables within the database.  Thereafter, the messages are integrated into the translation screens and can be translated into any allowed locale.

This process should only be carried out by a developer who has good knowledge of ExtraView's internal structure and user custom coding.

  • Check out the UCMessageTest.java from your source code repository, and make sure it is writeable
  • Select and run the build fapUC build target within the build.xml script.  This generates a new version of UCMessageTest.java
  • Run the script WEB-INF/data/UpgradeMessage.sh -u or WEB-INF/data/UpgradeMessage.bat -u to insert/update the messages within the database.

There is no problem executing this process as many times as required.  On each run, only new or changed messages will be inserted into the ExtraView database.