Appendix : Administration : Business Analytics Server Configuration : Support International Character Sets and Locales : Message Log and Default Locales
Message Log and Default Locales
Business Analytics uses the default locale defined for the JVM for all messages that are added to Business Analytics logs. These defaults may also be used as the locale for artifacts if no locale is defined by users or provided by the client browser.
To set the locale for the JVM for Business Analytics using Java properties
1. In a text editor of your choice, open the setenv.bat file, for Windows systems, or thesetenv.sh file, for Linux, OS/X or UNIXsystems, in the MashZoneNG-install/apache-tomee-jaxrs/binfolder.
2. Add a line just below the initial lines which set the JAVA_OPTS environmental variable.
*For Windows, add:
set JAVA_OPTS=%JAVA_OPTS% -Duser.county=country-code -Duser.language=language-code
*For Linux, OS/X or UNIX, add:
JAVA_OPTS="$JAVA_OPTS -Duser.county=country-code -Duser.language=language-code"
For example:
JAVA_OPTS="-XX:PermSize=128M -XX:MaxPermSize=256M -Xms512m -Xmx1G"
JAVA_OPTS="$JAVA_OPTS -DPRESTO_HOME=$CATALINA_BASE"
JAVA_OPTS="$JAVA_OPTS -Dfile.encoding=UTF-8"
JAVA_OPTS="$JAVA_OPTS -Dpresto.raql.udf.libsReload=false
-Dpresto.raql.udf.libsDir=$CATALINA_BASE/../raql-udfs"
JAVA_OPTS="$JAVA_OPTS
-Dlog4j.configuration=file://$CATALINA_BASE/conf/log4j.properties"
JAVA_OPTS="$JAVA_OPTS -Duser.country=CA -Duser.language=fr"

# (this is set by the installer)
JAVA_HOME=${JAVA_HOME}
...
3. Save your changes to the file.
4. Restart the Business Analytics Server.See Start and Stop the Business Analytics Server for instructions.
Copyright © 2013-2017 Software AG, Darmstadt, Germany. (Innovation Release)

Product LogoContact Support   |   Community   |   Feedback