2010-11-04 02:46:38 +07:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# $Id: RUN_TrlImport.sh,v 1.3 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 Import 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 imports language $AD_LANGUAGE from directory $DIRECTORY
|
|
|
|
|
|
|
|
$JAVA_HOME/bin/java -cp $CLASSPATH org.compiere.install.Translation $DIRECTORY $AD_LANGUAGE import
|
|
|
|
|
|
|
|
|
|
|
|
echo Done
|