This appendix describes how to add custom languages to the WorkSpace for an AquaLogic BPM Enterprise deployment or Studio test environment. There are two major steps in the process:
The following steps describe how to customize the language of the WorkSpace. To customize the language of other AquaLogic BPM components, contact a BEA Professional Services representative.
Creating a Custom Language Resource JAR
The following procedure creates a resource jar for a custom language. To install an existing custom language resource jar, see Installing a Custom Language Resource JAR.
To create a custom language resource jar:
Obtain the English product resource jar, <INSTALL_DIR>/<PRODUCT>/ext/fuegoresources.jar
Unzip the fuegoresources.jar to a working directory, maintaining the internal directory structure of the jar.
Delete all directories except the following and their subdirectories:
./fuego/core
./fuego/lib
./fuego/papi
./fuego/portal
./fuegoblock/mail
./fuegoblock/net
./fuegoblock/util
./META-INF
Translate the properties files found in the directories that were not deleted:
BlockMailMsg.properties
BlockNetMsg.properties
BlockUtilMsg.properties
CoreMsg.properties
LibMsg.properties
PapiMsg.properties
PortalMsg.properties
Caution:
Do not alter any of the Java placeholders. Java placeholders begin with the % symbol.
Edit the ./META-INF/MANIFEST.MF.
Change the Implementation-Vendor line from:
Implementation-Vendor: Fuego Language Plug-in
to:
Implementation-Vendor: Fuego Runtime Language Plug-in
Add a line for the plugin locale:
Fuego-Plugin-Locale: xx
Where xx is the two letter language code for the custom language.
Build a jar from the customized directory structure and properties files.
Caution:
Use the jar creation tool that comes with the JDK. Some other tools will create jars that may not be recognized by AquaLogic BPM.
Name the jar fuegoresourcesrt_xx.jar, where xx is the two letter language code for the custom language.
Installing a Custom Language Resource JAR
To install a custom language resource jar:
Ensure that all AquaLogic BPM components are stopped and closed.
Copy the custom language resource jar to <INSTALL_DIR>/<PRODUCT>/ext.
For Enterprise installations only, also copy the custom language resource jar to <INSTALL_DIR>/<PRODUCT>/webapps/portal/WEB-INF/lib.
Delete the contents of <INSTALL_DIR>/<PRODUCT>/Cache. Do not delete the Cache folder itself.