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
|
|
|
|
|
2014-09-04 05:25:39 +07:00
|
|
|
$JAVA -Dosgi.compatibility.bootdelegation=true -Dosgi.noShutdown=true -Dosgi.framework.activeThreadType=normal -XX:MaxPermSize=192m -jar plugins/org.eclipse.equinox.launcher_1.*.jar -console 12612 -application org.adempiere.ui.translation import $DIRECTORY $AD_LANGUAGE
|
2010-11-04 02:46:38 +07:00
|
|
|
|
|
|
|
echo Done
|