Dashbuilder in BPMS 6.1 shows strange characters in Spanish/Japanese/German
Environment
- Red Hat JBoss BPM Suite (BPMS) 6.1.x
Issue
When I change the language of the page to Spanish, the translated labels contain garbled characters. Are there any settings which need to be changed for the translated labels to be displayed correctly?
Resolution
-
Migrate to BPMS 6.2.0 (once available)
-
Users of BPMS 6.1 could apply the following manual workaround (note that the commands are for *nix based systems, and for the Spanish locale):
1) Navigate to $BPMS_HOME/standalone/deployments/dashbuilder.war/WEB-INF/lib
2) Extract the messages_en.properties file from the jar:
$ jar -xvf dashboard-ui-core-6.2.0.Final-redhat-11.jar org/jboss/dashboard/ui/messages_es.properties
3) Rename it:
$ mv org/jboss/dashboard/ui/messages_es.properties org/jboss/dashboard/ui/messages_es.properties.ori
4) Use the native2ascii tool1 to ISO-8859-1 encode the file:
$ $JAVA_HOME/bin/native2ascii -encoding UTF-8 org/jboss/dashboard/ui/messages_es.properties.ori org/jboss/dashboard/ui/messages_es.properties
5) Re-package the modified properties file into the jar archive:
$ jar -uvf dashboard-ui-core-6.2.0.Final-redhat-11.jar org/jboss/dashboard/ui/messages_es.properties
6) Remove the created folder
$ rm -rf org/
7) Restart the BPMS server and check out the dashbuilder page in Spanish. The special characters should be displayed properly now.
Root Cause
This is a bug in BPMS 6.11, fixed in BPMS 6.2.0.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Comments