docker_images/odoo/golem/i18n.sh

5 lines
357 B
Bash
Raw Normal View History

#!/bin/bash
cd "custom-addons/$CODE_FOLDER/$2/i18n/" && /opt/odoo/OCB/odoo-bin -c /opt/odoo/odoo.conf -d "$1" --i18n-export="$2".po --modules="$2" && mv "$2".po "$2".pot && cd /opt/odoo
2018-06-04 15:50:29 +02:00
cd "custom-addons/$CODE_FOLDER/$2/i18n/" && /opt/odoo/OCB/odoo-bin -c /opt/odoo/odoo.conf -d "$1" --i18n-export=fr.new.po --modules="$2" --language=fr_FR && cd /opt/odoo