docker_images/odoo/flectra/i18n.sh

5 lines
391 B
Bash
Raw Normal View History

2018-11-06 17:32:00 +01:00
#!/bin/bash
2023-06-08 08:09:02 +02:00
cd "custom-addons/$CODE_FOLDER/$1/i18n/" && /opt/flectra/flectra/flectra-bin -c /opt/flectra/flectra.conf -d "$2" --i18n-export="$1".po --modules="$1" && mv "$1".po "$1".pot && cd /opt/flectra
cd "custom-addons/$CODE_FOLDER/$1/i18n/" && /opt/flectra/flectra/flectra-bin -c /opt/flectra/flectra.conf -d "$2" --i18n-export=fr.po --modules="$1" --language=fr_FR && cd /opt/flectra