Added scripts to initialize a new language and compile existing .po files
This commit is contained in:
8
init-new-po.sh
Executable file
8
init-new-po.sh
Executable file
@ -0,0 +1,8 @@
|
||||
source ./translation.vars
|
||||
|
||||
if [ $# -ge 1 ]
|
||||
then
|
||||
TZ=UTC env/bin/pybabel init -i $POTFILE -d $TRANSDIR -l $1
|
||||
else
|
||||
echo "Usage: ./init-new-po.sh lang"
|
||||
fi
|
Reference in New Issue
Block a user