2010-11-04 02:46:38 +07:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# $Id: RUN_TrlExport.sh,v 1.4 2005/01/22 21:59:15 jjanke Exp $
|
|
|
|
|
2012-06-06 21:13:34 +07:00
|
|
|
if [ $IDEMPIERE_HOME ]; then
|
|
|
|
cd $IDEMPIERE_HOME/utils
|
2010-11-04 02:46:38 +07:00
|
|
|
fi
|
|
|
|
. ./myEnvironment.sh Server
|
|
|
|
|
2012-06-06 21:13:34 +07:00
|
|
|
echo Export idempiere Translation - $IDEMPIERE_HOME \($ADEMPIERE_DB_NAME\)
|
2010-11-04 02:46:38 +07:00
|
|
|
|
|
|
|
# need to change this to reflect your language
|
|
|
|
export AD_LANGUAGE=ca_ES
|
|
|
|
|
2012-06-06 21:13:34 +07:00
|
|
|
export DIRECTORY=$IDEMPIERE_HOME/data/$AD_LANGUAGE
|
2010-11-04 02:46:38 +07:00
|
|
|
|
|
|
|
echo This Procedure exports language $AD_LANGUAGE to directory $DIRECTORY
|
|
|
|
|
|
|
|
$JAVA_HOME/bin/java -cp $CLASSPATH org.compiere.install.Translation $DIRECTORY $AD_LANGUAGE export
|
|
|
|
|
|
|
|
|
|
|
|
echo Done
|